1.3.0 • Published 5 years ago

newregexp v1.3.0

Weekly downloads
215
License
MIT
Repository
github
Last release
5 years ago

newregexp

GitHub stars

Dynamically create regular expressions from strings

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Create regex from string
  • Works with native javascript RegExp api
  • Understands regex flags
  • Supports typescript

Installation

npm install --save newregexp

Dependencies

Usage

import newRegExp from 'newregexp';

const regex = newRegExp('/hello/g');
regex.test('hello'); // true

Support

Submit an issue

Screenshots

Contribute a screenshot

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons