xregexp
xregexp copied to clipboard
Extended JavaScript regular expressions
 After analyzing it with bundle analyze, it is found that the library is referenced and there are more than 600 kb without compression. It's too big. Can it be...
Hey guys, I have a Node application running in AWS Lambda. For the local development, I use the serverless framework and test locally. But today I faced a strange issue....
Hi just letting you guys know that a team member of mine introduced this npm package to our chrome extension project. Afterwards when I build the project for a release...
This pseudo-AST structure described in #179 could also be the foundation of a useful advanced feature from PCRE, Perl, etc.: The ability to reference the entire *contents* of a named...
Currently, the return type of `XRegExp` declared in `types/index.d.ts` is ```ts declare function XRegExp(pattern: string, flags?: string): RegExp; ``` However, this annotation is incorrect because it does not capture the...
Is it possible to extend the unicode support to the word boundary anchor? For example the russian sentence cannot be split: ``` "hello there this is a test".split(XRegExp('\\b', 'A')) (11) ...
Rollup
- Enhancement: Add Rollup ES distribution (with minification and sourcemaps) - Enhancement: Add `module` to `package.json` - npm: Remove browserify in favor of Rollup As discussed in #234
Other than [the set of supported properties](https://github.com/slevithan/xregexp/pull/220#issuecomment-366521619), there are some key differences between XRegExp’s handling of `\p{…}` and the way they work in native JS. - Native `\p{…}` doesn’t implement...
Update the XRegExp constructor (more specifically the `runTokens` function) to pass preceding tokens to token handler functions. Alternatively they could be made available on the token handler context (like the...
In XRegExp v4.0.0, ES3 support was removed (see #108) and `XRegExp.install('natives')` was removed (#207). Some follow ups that should be done as a result: * Consider deleting the "fixed" versions...