Closed maximecb closed 10 years ago
var str = " "; var val = /[\s]/.test(str); print(val); // expected true, prints null
Above code is reduced test case for the the failure (there may be more, but this is the first stumbling block.
Fixed the issue, gitthub issue causing failures while pushing it.
Thank you sir, you are a wizard :+1:
There seems to be some error, possibly in the regex engine, which causes string-tagcloud to throw an exception. Seems to be the benchmark's own implementation of a JSON parser throwing an error, probably due to some non-spec-conformant behavior in Higgs. I suspect that our regexp implementation may be at fault.
It may be difficult to debug, the best strategy may be to find where the behavior of Higgs differs from that of V8. Another possibility would be to intercept the regexp match calls and log the results, see if the Higgs regexp implementation behaves properly.