Remove DUPNAMES option
It makes the rest of the implementation more complicated and is confusing anyway. The user expects a 1:1 mapping between a match and a name
This commit is contained in:
parent
c4d536f581
commit
bfba4b9983
1 changed files with 1 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ suite "Test NRE initialization":
|
|||
test "correct options":
|
||||
expect(SyntaxError): # ValueError would be bad
|
||||
discard initRegex("[0-9]+",
|
||||
"89?AEfiJmNOsUWXxY<any><anycrlf><cr><crlf><lf><bsr_anycrlf><bsr_unicode><js>")
|
||||
"89?AEfimNOsUWXxY<any><anycrlf><cr><crlf><lf><bsr_anycrlf><bsr_unicode><js>")
|
||||
|
||||
test "incorrect options":
|
||||
expect(KeyError): discard initRegex("[0-9]+", "a")
|
||||
|
|
|
|||
Loading…
Reference in a new issue