JSVerbalExpressions icon indicating copy to clipboard operation
JSVerbalExpressions copied to clipboard

JavaScript Regular expressions made easy

Results 28 JSVerbalExpressions issues
Sort by recently updated
recently updated
newest added

I'm trying to build a verbal expression to match common math operators: ```js new VerEx().anyOf(["+", "-", "*", "/", "^"]) ``` However, arranging the characters in this order yields the error:...

Bumps [ava](https://github.com/avajs/ava) from 3.15.0 to 4.1.0. Release notes Sourced from ava's releases. v4.1.0 New features Allow customized sorting of test files prior to execution using sortTestFiles() in ava.config.js files by...

dependencies
javascript

npm scripts should do just fune nowadays

See also #196 and #197. For a sneak peak, check out the tests in the [`test` directory](https://github.com/VerbalExpressions/JSVerbalExpressions/tree/2.0.0/test), especially those in [`test/examples`](https://github.com/VerbalExpressions/JSVerbalExpressions/tree/2.0.0/test/examples). ## Completed features - `anyCharacterFrom` — `[…]` - `anyCharacterBut`...

Hello, I am using JSVerbalExpressions to extract the specified format of strings, when the VerEx test() result returns true, some code will be implemented. But I found a strange problem...

Hi @shreyasminocha and @ionutvmi, Thank you for this amazing library! I have been trying to generate a regex for the following statements: 1. There is no entry for **min-power-bark** or...

From using: ``` VerEx().startOfLine().then("aaa").or("bbb").endOfLine() ``` I'd expect it to compile to something like: ``` /^(aaa|bbb)$/ ``` ...but since `endOfLine` [discards existing suffixes](https://github.com/VerbalExpressions/JSVerbalExpressions/blob/38de0d635db47f5beaf7054b859587bb0a0f5efd/VerbalExpressions.js#L101) (where there is a capture group close parenthesis...

It would be great if VerbalExpressions can address the efforts and designs of other similar but fragmented projects, and note down some missing features or design flaws/differences. - https://github.com/MaxArt2501/re-build -...

Hey, I've recently found about about this package and started to convert or regexes :) One major thing I noticed missing is the ability to add lazy/non-greedy wildcards. I thing...