Partial regexp matching
mikesamuel at gmail.com
Sun Feb 18 21:19:55 UTC 2018
So you want an API that can indicate "might match if there were more input"?
Is it ok if it is conservative? I.e. it won't incorrectly say "definitely
wouldn't match given more input" but could tolerate errors the other way?
For example, /^food(?!)/ would have to say no for "foop" but we might
tolerate a maybe for "foo".
On Feb 15, 2018 8:12 AM, "Isiah Meadows" <isiahmeadows at gmail.com> wrote:
I've been working on a test framework, and I'd love to implement
support for matching tests via regexp-based selectors. It's basically
impossible without the ability to execute a regular expression and
test if it matched positively, negatively, or incompletely.
- If the regexp does not have an end marker, this, of course, can't
generate a *negative* match, only positive/incomplete ones.
- If the regexp *does* have an end marker, this is where I actually
need native support. (This is especially true if group references get
Any chance this could get added?
me at isiahmeadows.com
Looking for web consulting? Or a new website?
Send me an email and we can get started.
es-discuss mailing list
es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss