Limited Availability
Regular expressions
RegExp compile()
The
compile() method of RegExp objects recompiles an existing regular expression object using a new pattern and flags.
Baseline Status:
This feature is currently Limited (not yet Baseline). Latest engine implementation shipped on Jul 29, 2015.
Desktop Browser Engine Support
Google Chrome
1
Supported
Mozilla Firefox
1
Supported
Apple Safari
3.1
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
4
Safari iOS
2
Specifications and References
MDN Browser Compat Data Keys:
id: regexp-compile