This is now history!
$ perl -wE 'say "aaaab" =~ /(?<=a{1,20})b/' Variable length lookbehind not implemented in regex m/(?<=a{1,20})b/ a +t -e line 1. [$?: 255] $ blead perl -wE 'say "aaaab" =~ /(?<=a{1,20})b/' Variable length lookbehind is experimental in regex; marked by <-- HER +E in m/(?<=a{1,20})b <-- HERE / at -e line 1. 1
The original blog post by Tom Wyant here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Variable length lookbehind
by LanX (Saint) on Mar 24, 2019 at 13:16 UTC |