Regexp group number show wrong #7

Closed
nuintun opened this Issue Mar 13, 2015 · 1 comment

Projects

None yet

2 participants

@nuintun
nuintun commented Mar 13, 2015

Here is a regexp:

(@import\s+url\s*\(.+?\);?|@import\s+(['"]).+?\2;?)

the right group number will be:
right

but in regexper:
wrong

@nuintun nuintun changed the title from regexp group number show wrong to Regexp group number show wrong Mar 13, 2015
@javallone javallone added a commit that closed this issue Mar 14, 2015
@javallone Changing when subexpression numbers are generated
Generating subexp numbers during setup was leading to nested expressions
being numbered in reverse order.

Fixes #7
7328825
@javallone javallone closed this in 7328825 Mar 14, 2015
@javallone
Owner

This bug actually went back to some rework I did before the site was even launched (it was caused by e362a54 for the curious). I'm amazed it has been around this long.

Thank you very much for catching and reporting it!

@javallone javallone reopened this Mar 14, 2015
@javallone javallone closed this Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment