On Mon, Dec 11, 2006 at 11:14:03AM +0000, kailash vyas wrote: > I am not able to match : in the regular expression. > for example I was trying to match Symbol: > > body LOCAL_DEMONSTRATION_RULE /\bsymbol:\b/i
remove the trailing \b (unless you expect there to be alphanumeric chars right after the symbol). > I tried putting a blackslash before : but still not working (symbol\:) colon isn't a special char in re, so you don't need to escape it. -- Randomly Selected Tagline: "I believe in getting into hot water; it keeps you clean." - G. K. Chesterton
pgpljo8KGiBxW.pgp
Description: PGP signature