in reply to Re: Replacing 3 and 4 digit numbers.
in thread Replacing 3 and 4 digit numbers.
Please see Special Backtracking Control Verbs for (*SKIP) (*FAIL) in perlre.
Hey! You fooled me into thinking that you want htmanning to RTFM.
Discipulus++'s answer was a real insight. I had never expected that readable words are part of perl's RE syntax. I've looked into my local perl, and lo and behold, it's supported even here, in 5.18.1 (but still marked experimental).
The only thing that I don't like is that perlre does not state since which version this feature is supported.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Replacing 3 and 4 digit numbers.
by choroba (Cardinal) on Apr 09, 2016 at 22:52 UTC | |
|
Re^3: Replacing 3 and 4 digit numbers.
by AnomalousMonk (Archbishop) on Apr 08, 2016 at 20:34 UTC |