Subj : regular expression To : netscape.public.mozilla.jseng From : Moe tokrot Date : Tue May 18 2004 07:18 pm Hi, I'm trying to use regExp in my application, It works fine for most patterns but i can't use the character '.' for example: char* regExp="var re=new RegExp(\"\\.\",\"g\");re.test(\"ghhfdhgh\");"; JS_EvaluateScript(cx, global, regExp, strlen(regExp), filename, lineto, &rval); returns me true instead of false !! i typed the same pattern (except that i didn't backquote the " characters) in the shell it works fine I 'm stuck... if someone can help ! thank you Moe .