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

Re^3: regex for negating a sequence

by davidrw (Prior)
on Oct 03, 2006 at 20:40 UTC ( #576184=note: print w/replies, xml ) Need Help??


in reply to Re^2: regex for negating a sequence
in thread regex for negating a sequence

nice. My first attempt was trying to do it like that, but i started with something like:
/\x26\x67(.(?!\x26\x67)){7}./s
which doesn't work for the case of consectutive sequences.. i just didn't think of putting the look-ahead behind the dot :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2019-07-16 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?