Subj : Re: RegExp To : Moe tokrot From : Brendan Eich Date : Fri May 14 2004 11:37 am Moe tokrot wrote: > Hi, > > I want to use regular expressions in the scripts i evaluate with js, but > it's not defined... > I called JS_InitStandardClasses , i have Math,String...but not RegExp , what > should i do ? > In the shell it works fine. > Thanks, > > Moe > JS_InitStandardClasses(cx, glob); Weird. Are you somehow defining JS_VERSION to 110 or 100? You might just debug a bit, step into JS_InitStandardClasses, breakpoint js_InitRegExpClass, etc. /be .