EliziumNet/Loopz

Start/End anchors should skip items where matching pattern is already in the anchored position

Closed this issue · 2 comments

When Start/End anchors are used, we should skip the items where the match is already at the Start or End. The user can do this themselves already by specifying an Except (X) parameter repeating the same pattern and then adding in ^ or $ depending on which anchor is being used. However, this is clumsy and the user shouldnt have to do this.

I accidentally commited the fix for this with the wrong issue specified in the commit message. In commit '73ccb3fc4065cbe0da6d6de57cd2c744a08d13f5', I specied issue #44 instead of this one.

I fixed the commit message:

git commit --amend -m "(feat #51): Skip already anchored (Start/End) items"
git push origin --force master