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
3 files changed