Version: (using KDE Devel) Installed from: Compiled sources KRegExpEditor don't parse the valid QRegExp "a(|b)c"
Subject: Re: New: Don't parse the valid QRegExp " a(|b)c" Which syntax are you referring to? In Qt's syntax which is the default from within KDE application, the following is actually a invalid syntax. a(x|b)c would be a valid one a(\|b)c would also be valid but not the one you write. Pascal "L
It is a valid regexp in Qt, python, perl, ... Just try it!
Thanks, you were right. This is valid syntax, and have now been fixed on HEAD.
There is still a small problem with the graph for "a(|b)c". It shows only one alternative: "b". It should show two: "" and "b".
Regular expression are not quite simple are they. Until just now, I didn't understand why you were that interested in that sily regexp. I though it was equal to a(b)c, which it of course isn't. Now empty lineedit are created. Thanks for bugging me till I finally understood. Jesper.
Thanks!