An open API service indexing awesome lists of open source software.

https://github.com/nodef/extra-regexp

A regular expression defines a pattern for matching text.
https://github.com/nodef/extra-regexp

extra regexp

Last synced: 4 months ago
JSON representation

A regular expression defines a pattern for matching text.

Awesome Lists containing this project

README

          

A [regular expression] defines a pattern for matching text.

```javascript
require('extra-regexp');
// : extends global RegExp
// RegExp.escape(string)
// RegExp.unescape(string)
// ...
```

Methods:

| Name | Action
|---------------------|-------
| [escape] | Escapes string for use in RegExp.
| [unescape] | Unescapes RegExp string for readability.


[![nodef](https://merferry.glitch.me/card/extra-regexp.svg)](https://nodef.github.io)
![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/extra-regexp)

[regular expression]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp