Subj : Re: string declaration without evaluation To : Moe tokrot From : Brendan Eich Date : Mon Jun 07 2004 11:31 am Moe tokrot wrote: > Yes I tried, but the result is not what i want ... > i want to analyse with a regexp "my_string" as it is below (i want the '+' > characters and the word "link" in it ... i don't want the engine to evaluate > "link"...) > > Moe > > > const char my_string[]="var src=\"text \""; my_string is a C string, not a regexp. If you mean you want to use that string as the source of a regexp, then say so in JavaScript: const char my_regexp[] = "/var src=\"text \"/"; /be .