|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^2: Reguar expressionby citromatik (Curate) |
| on Jun 22, 2009 at 10:45 UTC ( #773566=note: print w/ replies, xml ) | Need Help?? |
|
That's not very complicated:
Update: Solving the problem with 2+ regexps is more or less trivial, but using just 1 is far more interesting. Here is a solution using look-ahead assertions (see perlre):
citromatik
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||