On 16/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In the next line there is ambigious between RegEx and comment > str.match(//);
Not really. // is always a line comment starter in ES3: ~~~~~~~~ 7.8.5 Regular Expression Literals /- - -/ NOTE Regular expression literals may not be empty; instead of representing an empty regular expression literal, the characters // start a single-line comment. To specify an empty regular expression, use /(?:)/. ~~~~~~~~ -- David "liorean" Andersson _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
