Pattern repeat count off by one error
nikcorg opened this issue · 3 comments
nikcorg commented
Hello,
Whilst using your excellent tool, I noticed repetition count has an off by one error. See attached screen shot or visit the demo.
At the same time, I tested other variants of repetition for completeness.
{,8}
is treated as a literal value instead ofat most 8 times
, i.e. seemingly doesn't parse{8,}
correctly (save for the off-by-one) becomes7+
{0,8}
correctly (save for the off-by-one) becomesat most 7 times
{1,8}
incorrectly becomesat most 7 times
, instead of1...8 times
{2,8}
correctly (save for the off-by-one) becomes1...7 times
CubicPill commented
Not an error, I think. It means the pattern appears once and then repeat x-1 times, that's {x}. A bit confusing though...
nikcorg commented
@CubicPill oh, I can see that now, I think you're right. Quite confusing indeed.
nikcorg commented
Closing as is ostensibly not a bug, but merely a misunderstanding of the UI.