Brian Wyant
Brian Wyant
Please bear with me a moment for an explanation - there's a good chance you won't agree with me initially, and I have a sliding scale of thoughts on what...
What if I want to `.sequence('hello!', regex.optional(' '))`, or the like? (This might be more an argument that I should dive through other regex builder libraries for their API -...
Like https://github.com/thebinarysearchtree/regexpbuilderjs/issues/11 and I'm sure there's plenty of other good references. https://github.com/craniumslows/Countable/commit/47f0b8804f1ff66bfe3ba031126e3b9ff05ca785 looked interesting too.
Example: `.any().literals('abc').capture().end()` - those parens won't do anyone good if they're found in a character set. https://github.com/wyantb/js-regex/commit/e36ccf700f53558111e55f7de8a5cb1614d5f47c is a trivial reproduction of the problem, but there's bound to be a...
In pure regex terms, this means `\xNN`, `\uNNNN`, and `\cK`; see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#Special_characters_in_regular_expressions) for more information.
I have a project in which I'm not importing `fbjs` today. Indeed, in the latest prop-types, they don't use it either - see https://github.com/facebook/prop-types/blob/953ed9beb0f15498cd7e6e25c90f7cadd5f2149a/CHANGELOG.md#1562 https://github.com/facebook/prop-types/pull/194 for some background information. However,...