Skip to content


Items w/ Range repeats followed by other tags do not potentially match correctly #7

benlangfeld opened this Issue · 1 comment

1 participant


The current method of doing a stepped iteration through elements allowing them to capture part of the input does not work in the following (simplified) scenario:

    <item repeat="3-">2</item> <token>#</token>

with the input 22#, the Item "captures" the 22, and then matches the # to the token. This results in a PartialMatch, which is not possible since the item requires at least '222' to fully match before the status of the token should be taken into account.

@benlangfeld benlangfeld was assigned
@benlangfeld benlangfeld added a commit that referenced this issue
@benlangfeld [BUGFIX] Fix failing specs on item repeats
Fix #7

* Use a C or Java extension
* Kill a lot of yucky, poorly performing and error prone code

Fixed by 1630fce

@benlangfeld benlangfeld closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.