Encountering issues with this regular expression in Chrome, Firefox, and IE11...
'abc(def'.match('\((\w*)')
Is there an error in the expression? Is there a more efficient method to escape the ( character?
This alternative approach seems to resolve the issue:
/\((\w*)/.exec('abc(def')