8015348: RegExp("[") results in StackOverflowError

Reviewed-by: sundar, attila
3 files changed