ECMAScript proposal: RegExp escaping

The ECMAScript proposal “RegExp escaping” (by Jordan Harband and Kevin Gibbons) specifies a function RegExp.escape() that, given a string text, creates an escaped version that matches text – if interpreted as a regular expression.
This proposal is curr…


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer

The ECMAScript proposal “RegExp escaping” (by Jordan Harband and Kevin Gibbons) specifies a function RegExp.escape() that, given a string text, creates an escaped version that matches text – if interpreted as a regular expression.

This proposal is currently at stage 3.


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer


Print Share Comment Cite Upload Translate Updates
APA

Dr. Axel Rauschmayer | Sciencx (2025-01-21T00:00:00+00:00) ECMAScript proposal: RegExp escaping. Retrieved from https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/

MLA
" » ECMAScript proposal: RegExp escaping." Dr. Axel Rauschmayer | Sciencx - Tuesday January 21, 2025, https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/
HARVARD
Dr. Axel Rauschmayer | Sciencx Tuesday January 21, 2025 » ECMAScript proposal: RegExp escaping., viewed ,<https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/>
VANCOUVER
Dr. Axel Rauschmayer | Sciencx - » ECMAScript proposal: RegExp escaping. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/
CHICAGO
" » ECMAScript proposal: RegExp escaping." Dr. Axel Rauschmayer | Sciencx - Accessed . https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/
IEEE
" » ECMAScript proposal: RegExp escaping." Dr. Axel Rauschmayer | Sciencx [Online]. Available: https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/. [Accessed: ]
rf:citation
» ECMAScript proposal: RegExp escaping | Dr. Axel Rauschmayer | Sciencx | https://www.scien.cx/2025/01/21/ecmascript-proposal-regexp-escaping/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.