Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2017-01-22 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (186 votes). Check out past polls.