I don't see how this can work: "(?P<interface>[\w\-]{0})" will only match a string of length zero. If you want zero or more instances, that's actually easier: "(?P<interface>[\w\-]*)"
I could be missing something, of course. But if not, this suggests a missing test.
I don't see how this can work: "(?P<interface> [\w\-]{ 0})" will only match a string of length zero. If you want zero or more instances, that's actually easier: "(?P<interface> [\w\-]* )"
I could be missing something, of course. But if not, this suggests a missing test.