Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Matching backslash in regexp negative lookbehind

by AnomalousMonk (Chancellor)
on Jan 02, 2018 at 22:09 UTC ( #1206564=note: print w/replies, xml ) Need Help??


in reply to Re^3: Matching backslash in regexp negative lookbehind
in thread Matching backslash in regexp negative lookbehind

Forgot about that. I'm not really up on the latest regex extensions. Offhand, do you know with what Perl version the  xx modifier modification was added?


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^5: Matching backslash in regexp negative lookbehind
by choroba (Bishop) on Jan 02, 2018 at 22:14 UTC
    > with what Perl version

    5.26

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Re^5: Matching backslash in regexp negative lookbehind
by soonix (Monsignor) on Jan 03, 2018 at 06:29 UTC
    I hadn't known about it either, I simply looked it up to see wether the doc contained a warning about that, and found this.

    Thanks choroba for the good idea (and moreso for implementing it)!

      Our own choroba's! Excellent! I like this new feature and I like indented heredocs. Two good reasons to upgrade.


      The way forward always starts with a minimal test.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1206564]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-06-24 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?