in reply to Re: empty hits with regex
in thread empty hits with regex
$_ = "caaat"; my @hits = /(?|c(a)|k(t))/g; say scalar @hits; say @hits; __END__ 1 a
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: empty hits with regex
by Tanktalus (Canon) on Oct 02, 2008 at 22:52 UTC |