Assuming this list is still alive, looks like the last post was from February.

Can somebody suggest a regex expression that would find all lines that contains 
an arbitrary string only if it DOES NOT contain another arbitrary string.

I.E. find all lines that contain the word master only if it does not contain 
the word California, case insensitive. 

Assuming it matters, this would be for use in a Unix grep command to search a 
large CFML code base.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1238
Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/regex/unsubscribe.cfm

Reply via email to