I actually like the idea... You can do an optional matching block for parents (...)? But that would be patterns for each character... Having a String.startsWith that can do a match against the start of a rexexp would be cool. and/or regex.testStart
-- Michael J. Ryan - [email protected] - http://tracker1.info Please excuse grammar errors and typos, as this message was sent from my phone. On Mar 4, 2017 6:36 AM, "Kent C. Dodds" <[email protected]> wrote: > I can't say that I know what the repercussions of such a feature would be, > but I'll just add that I've definitely had this use case before and feel > like it would be really useful to have in the language. 👍 > -- > - Kent C. Dodds <https://twitter.com/kentcdodds> > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

