in reply to Bug or feature? s/// and the g option
Edit: I poked at it a little more and seem to have confirmed my theory. If the final B in the data string is not followed by C?[DE], $1 ends up undef, regardless of where that B is.$test = <<'END'; ABFG ABCD END
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bug or feature? s/// and the g option
by Belgarion (Chaplain) on Oct 14, 2007 at 16:17 UTC | |
by ysth (Canon) on Oct 14, 2007 at 19:46 UTC | |
by Belgarion (Chaplain) on Oct 14, 2007 at 20:14 UTC |