What steps will reproduce the problem? 1. Enter a regexp with a named group (e.g. "(?P<test>.*)" 2. 3.
What is the expected output? What do you see instead? Expected the group names to at the least be ignored. Instead it breaks the regexp
What version of the product are you using? On what operating system? http://regexpal.com/, Chromium browser, Linux
Please provide any additional information below. This would be a nice feature to add, since it would ease debugging of production regexp's with named groups. Also, have to say i love regexpal. Nice work!
Comment #1
Posted on Apr 12, 2012 by Grumpy GiraffeThanks, Jonatan. :)
Python-style named capture syntax is not supported in JavaScript, so RegexPal correctly highlights it as an error. Perhaps it would be helpful to display the reason for the error somewhere (perhaps something very explicit like "JavaScript doesn't support Python-style named capture").
Comment #2
Posted on Apr 13, 2012 by Quick LionWouldn't it be quite trivial to add an option to ignore the naming and proceed as usual? It is, after all, only a regexp away ;) =)
Status: Invalid
Labels:
Type-Defect
Priority-Medium