ECMAScript requires that \u00A0 (the non-breaking space character) be treated
like other white space in program source. Our engine generates a syntax error:
15: SyntaxError: illegal character:
This should print 5.
Forwarding to Roger.
This is most easily fixed by changing entry 0xA0 of js_Y in jsstr.c from 14 to
Same question as for bug 23612: will changes to js_Y break the dependent regexp
testcase ecma_3/Unicode/uc-002.js added
Same answer as for bug 23612: A \s in a regexp should recognize \u00A0 inside a
target string as white space. Fixing the table would fix regexps as well. We
might want to add a test case.
Added regexp test to testcase.
Fix checked in.