Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Regexp substitution on variable-length ranges with embedded code?

by Polyglot (Friar)
on May 26, 2021 at 14:26 UTC ( #11133068=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use re 'eval';
    
  2. or download this
    (?(?{ $run[-1] - $run[-2] != 1 }) (*F))
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-05-26 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (92 votes). Check out past polls.

    Notices?