This project is a fork of the MIT licensed pcre-to-regexp project from @TooTallNate. This fork is also MIT licensed. Creates a JavaScript RegExp instance from a Python-like regexp string. Works with ...
You want to allow users to pass in a RegExp with flags or without from string input. Here's how javascript would handle these: ^Hola$ // matches only the string 'Hola ...