Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Regex solution needed

by imp (Priest)
on Feb 23, 2007 at 16:50 UTC ( #601771=note: print w/replies, xml ) Need Help??


in reply to Re: Regex solution needed
in thread Regex solution needed

Look-behind is supported but not for variable length patterns, e.g. (?<!game|the)\s+cocks will not work.

The best solution IMO is to just allow the word 'cocks'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://601771]
help
Chatterbox?
[ww]: but "don't touch 3rd rail?"\
LanX hails himself \o
[choroba]: Can't touch this... ♪ ♫
LanX ("To be or not to be" from Ernst Lubitsch)
[choroba]: holli The video is best when watched after Damian's talk (not sure if it's online already)
[ambrus]: I'm currently teaching to a co-worker about the stupid bugs and misfeatures and workarounds my current program has. The ones that I will have to eventually fix, but we have to use the programs now before I have time to fix it.
[holli]: "three little words", you mean
[ambrus]: Some of them are rather embarrassing historical misfeatures. One I partly worked around right now as I told him.
[holli]: `?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-11-21 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?