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

benlangfeld opened this Issue Jan 9, 2012 · 1 comment


None yet
1 participant

benlangfeld commented Jan 9, 2012

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.

@ghost ghost assigned benlangfeld Jan 9, 2012

benlangfeld added a commit that referenced this issue Mar 4, 2013

[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

This comment has been minimized.

Show comment
Hide comment

benlangfeld Mar 4, 2013


Fixed by 1630fce


benlangfeld commented Mar 4, 2013

Fixed by 1630fce

@benlangfeld benlangfeld closed this Mar 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment