pragmatic_segmenter
pragmatic_segmenter copied to clipboard
#78: Fixed issues with catastrophic backtracking when detecting numbered references
This pull requests solves the problems with catastrophic backtracking that are described in issue #78.
Although the regular expression is now somewhat more restrictive, I think it will cover the vast majority of numbered references that are used in practice.