UNPKG

incr-regex-package

Version:

An incremental regular expression parser in JavaScript; useful for input validation, RegExp

10 lines (7 loc) 512 B
As many have stated there is no standard library, fortunately I have written a Javascript implementation that does exactly what you require. With some minor limitation it works for regular expressions supported by Javascript. see: [incr-regex-package][1]. Further there is also a react component that uses this capability to provide some useful capabilities: 1. Check input as you type 2. Auto complete where possible 3. Make suggestions for po [1]: https://github.com/nurulc/incr-regex-package