toadi has asked for the wisdom of the Perl Monks concerning the following question:
I really stink in writing regex.
--
My opinions may have changed,
but not the fact that I am right
my $data=<<"DATA"; BEGIN:01;BE;1000 Match This Match That SOMEWHERE,28 1000 BRUSSEL 1 Belgique DATA
I loop over a file where i split on formfeeds filling the $data scalar. When it is filled i want to parse "parse this" and "parse that" out of it.
There is more in the $data I needed to parse out, but i succeeded in them, but this gives me more troubles...
--
My opinions may have changed,
but not the fact that I am right
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Regex Parsing
by cog (Parson) on Mar 27, 2005 at 13:17 UTC | |
by toadi (Chaplain) on Mar 27, 2005 at 17:04 UTC | |
by dragonchild (Archbishop) on Mar 28, 2005 at 13:55 UTC | |
by cog (Parson) on Mar 28, 2005 at 16:28 UTC | |
Re: Regex Parsing
by jhourcle (Prior) on Mar 27, 2005 at 12:35 UTC | |
Re: Regex Parsing
by tlm (Prior) on Mar 27, 2005 at 14:51 UTC |
Back to
Seekers of Perl Wisdom