in reply to Re^2: Is it safe to use external strings for regexes? (infinite loops)
in thread Is it safe to use external strings for regexes?
$ perl -wE '$f = "foo"; say pos $f while $f =~ m{ ( o? )* }gx;' 0 3 3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is it safe to use external strings for regexes? (infinite loops)
by LanX (Saint) on Oct 11, 2021 at 15:36 UTC | |
by choroba (Cardinal) on Oct 11, 2021 at 15:40 UTC | |
by LanX (Saint) on Oct 11, 2021 at 15:41 UTC | |
by AnomalousMonk (Archbishop) on Oct 11, 2021 at 17:56 UTC |