RegExp.escape()

C. Scott Ananian ecmascript at cscott.net
Mon Jun 29 18:49:07 UTC 2015


And I'm suggesting that `RegExp.escape(str, /[image: ☺]/ug)` is a much
better idea.​
  --scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150629/35fa8faf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emoji_u263a.png
Type: image/png
Size: 1681 bytes
Desc: not available
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150629/35fa8faf/attachment.png>


More information about the es-discuss mailing list