in reply to Re^3: Use global flag when declaring regular expressions with qr?
in thread Use global flag when declaring regular expressions with qr?
(note the parens) ... say for ($str =~ m/$rex/g);The parens in the for? Those do absolutely nothing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Use global flag when declaring regular expressions with qr?
by Tux (Canon) on Oct 29, 2024 at 13:24 UTC |