commit | 56425a25939e630256ae75f333b555a53e41cecf | [log] [tgz] |
---|---|---|
author | Roberto Lublinerman <rluble@google.com> | Mon Aug 18 11:42:15 2014 -0700 |
committer | Roberto Lublinerman <rluble@google.com> | Mon Aug 18 12:02:31 2014 -0700 |
tree | 925bc9505de0a272c5713b1a60becb4a05c9d241 | |
parent | 57b76f61aa01ad8985e7c0abbb1b3da23f13fa33 [diff] |
Avoid interning JS regexps. JavaScript regexes are stateful, methods like RegExp.test(...) keep track of the current match status in the regexp. Bug: issue 8865. Change-Id: I66ca84ad4363a8aa8f4c122d3e8e54b6f02bca49