regextend

1.1.0 • Public • Published

Regextend

Build Status

Regexes, only extended.

Features

All the features native RegExp instances have, but with an added .offsets property. In theory this follows an earlier draft of the Match indices proposal but without the nested .groups property. In future we need to either deprecate this package and switch to the polyfill created there or implement this as a complete polyfill:

  • .groups has (since this was built) been renamed to .indices
  • .indices is now a nested array so that it can contain the end index too
  • Named capturing groups are not supported.

See also

Readme

Keywords

Package Sidebar

Install

npm i regextend

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

20.6 kB

Total Files

12

Last publish

Collaborators

  • asmblah