Re: Regular expression help
- From: <corff@xxxxxxxxxxxxxxxxxx>
- Date: 18 May 2006 15:47:54 GMT
lochuanjiang@xxxxxxxxx wrote:
: Thanks for the advices..
: Relatively still new to perl and trying to read out the regular
: expression in english is a daunting task for me.
Redefine your approach to regular expressions. Carefully read the
Perl documentation (perlre), study the examples given (not only by
passively staring at them, but by actually trying to craft your
own sample data, things you want to find and matching REs) and go
from simple to complicated, rather than trying to understand this
aweful, cluttered and obfuscated regex code you presented here, and
thus going from complicated to simple (which will be unreachable).
Oliver.
--
Dr. Oliver Corff e-mail: corff@xxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: Regular expression help
- From: Eric Schwartz
- Re: Regular expression help
- References:
- Regular expression help
- From: lochuanjiang
- Re: Regular expression help
- From: Tad McClellan
- Re: Regular expression help
- From: lochuanjiang
- Regular expression help
- Prev by Date: Re: variable that I want to treat as information read from a txt file, using a while loop
- Next by Date: OT: Hard-core developer turned "tweener"
- Previous by thread: Re: Regular expression help
- Next by thread: Re: Regular expression help
- Index(es):
Relevant Pages
|