From: jOhn Date: 2008-01-30T04:40:09+09:00 Subject: regex to avoid escaped quotes or double quotes ------=_Part_14464_6823084.1201635615238 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am doing an xpath compiler. Biggest problem is how to ignore single and double quoted literals ... along with escaped quotes. Like the following (avoiding the quoted literal): /some/cool/xml/path[fn:count(subelement[@title ='fn:count("/some/cool/xml/path[fn:count(subelement[@title ='fn:count()'])]")'])] I'll post more as I work to solve it ... not even posting what i have now as it is too weak. -jhn ------=_Part_14464_6823084.1201635615238--