regex
regex copied to clipboard
Feature request: "escape" function
The old Regex library had a wrapper for Javascript's Regex.escape
, which is really handy if you want to, say, find and highlight portions of a text which case-insensitively match a search term. It'd be great if this module could provide such a function! :-)