mozilla/rhino — pull request #23 by msmhrt (2011-11-12 12:29:03+00:00)
Title: Fixed issue with the word boundary assertion

This patch will pass the following mozilla JS test
js1_5/Regress/regress-247179.js
and the following test262 tests.
ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T4
ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T1
ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T4

with this patch:

js> "m\ucc44nd".split(/\b/).length
3
js>

without this patch:

js> "m\ucc44nd".split(/\b/).length
1
js>