in reply to Re^4: Global regexp
in thread Global regexp
Basically yes - Perl regular expressions will always match the leftmost longest match. Any other approaches will need other regular expression engines. If you're running Perl 5.10, you have the option of using different regular expression engine (see re::engine).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Global regexp
by Anonymous Monk on Jun 18, 2008 at 04:43 UTC |