in reply to Re^2: How to start regexp from a X position
in thread How to start regexp from a X position
is just a complicated way of doingfor ('<1>', '<2>', '<3>') { $x =~ /^(.*<\d>)/$1$_/s; }
$x =~ /^(.*<\d>)/$1<1><2><3>/s;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to start regexp from a X position
by pkt (Initiate) on Oct 07, 2008 at 12:27 UTC | |
by ikegami (Patriarch) on Oct 07, 2008 at 12:42 UTC |