in reply to Re: Regexp substitution on variable-length ranges with embedded code?
in thread Regexp substitution on variable-length ranges with embedded code?
I saw this and was going to reply with something to the effect of Set::IntSpan but I was too late and mine wouldn't have had as clever a trick with that closure coderef . . . bah.
Also as far as the original question, IMHO most times if you're thinking about embedding code inside your regexen you're pretty well already deep into (quasi-apocryphical) JWZ-quote / xkcd 1171 territory.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regexp substitution on variable-length ranges with embedded code?
by LanX (Saint) on May 28, 2021 at 15:25 UTC | |
by Your Mother (Archbishop) on May 28, 2021 at 17:35 UTC | |
by LanX (Saint) on May 28, 2021 at 18:01 UTC |