[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Omaha.pm] AI-type string comparisons using Perl...
Daniel Linder wrote:
> I am working on a small script that will compare some text output from
> a program and parse out the numbers I want to act upon. Unfortunatly
> the output from the script is quite "humanized" and really ugly to
> parse using RegExp.
> Does anyone know of a perl module/function that can take a template
> string and use that to extract the values into variables for further
> use?
Tough problem, if I understand it correctly.
These modules might be worth a look:
<http://search.cpan.org/dist/Regex-PreSuf/>
<http://search.cpan.org/dist/Regexp-Match-List/>
Disclaimer: I have not used them.
This node might provide some ideas:
<http://www.perlmonks.org/index.pl?node_id=362578>
Hugh.
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail