Labeled matches: why is this not in every regex engine?

18 points by iev


sunshine

Have you thought about trying to add RE# to rebar? I'd be curious to see a performance comparison between it and JavelinPattern.

mdaniel

I hope I am not the one one who cringed every time they went out of their way to claim that [0-9]{4}-[0-9]{2}-[0-9]{2} was a date, as if 0000-00-00 was going to show up in a document. If I had more emotionally energy, I'd for sure put spaCy up against a document containing nonsensical 10 digit strings and see how many it thinks are the 0th of Niluary in the Nilth Century