in reply to Re^2: Bizarreness in ?PATTERN? and g
in thread Bizarreness in ?PATTERN? and g
If you want them separate then remove the g modifier.
$_="a1 a2 a3"; while(?a(\d)?){ print $1; } while(?a(\d)?){ print $1; } __END__ 11
Updated to add in the snippet.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Bizarreness in ?PATTERN? and g
by BUU (Prior) on Jun 04, 2004 at 05:16 UTC | |
by Mr. Muskrat (Canon) on Jun 04, 2004 at 05:24 UTC | |
by halley (Prior) on Jun 04, 2004 at 13:17 UTC |