![]() Registered Member ![]()
|
Hello,
Inspired by Giuseppe Della Bianca's patches for KRegexpEditor I found on kde-apps.org ( http://kde-apps.org/content/show.php/KR ... ent=144569 ), I became interested in working on this create application. I have temporarily make a git-repository on gitorious ( https://gitorious.org/kregexpeditor ) which include his patches and some of my own. This is meant to be temporary as I couldn't get the full history when I created it. I liked KRegexpEditor back in the old KDE3.x days when I just started using KDE and Linux full time and I've been missing a KDE4 version of it. I've a few ideas for this application but I would like some input. First I want to find and fix bugs, crashes and so on. After that I intend to add support for more syntaxes and make a plasma widget. |
![]() Registered Member ![]()
|
I would first of all like to have a version of kregexpeditor which does not crash in KDE 4. That would be much appreciated.
Then the result of grouping would be a nice to have. First attempt could just be a list which show the group number. Another version which emphasis the the match or with a color underline and group number would be useful but just numbering is fine. Note that grouping can be nested like "/(foo(bar)?|quux)/". best regards Hans Yes, I have glasses ![]() |
![]() Registered Member ![]()
|
Thanks for your comment
![]()
I agree that this has top priority. I've already included some patches from kde-apps and solved a few crashes myself, I'm not sure all the crashes has been fixed but I know many of them have.
I have thought of that and I think it's a good idea. Very useful. I thought that first it would be good to just list them, after that improve the highlighting. Right now highlighting is very primitive, only two colors are used. Highlighting needs to be improved. I also want to highlight the regex it self, but that's far down my list. Right now I'm working on basic support for Vim's regex syntax. |
![]() Manager ![]()
|
Just like to say thanks, always thought it was a great little tool to have and was disappointed it didn't get carried over to KDE4
|
![]() Registered Member ![]()
|
I could help you with testing, I use alot of regexs at work.
|
![]() Registered Member ![]()
|
1. Bug: The result window can not scroll horizontal and vertically. Even with a small regexp the last part at right can not be seen (unless you have a very wide screen).
As input example this huge ISO-8601 regexp could be used. http://www.pelagodesign.com/blog/2009/0 ... esnt-suck/ 2. Feature: Keep verifier font size. When there is a match in the verifier window, the match get colored but also a little larger font. It is a bit annoying with this 'flapping'. Keeping the same size would be an improvement. 3. Bug: Click icon "Load text in the verifier window" and then comes: kregexpeditor(4422) KDesktopFile::isAuthorizedDesktopFile: Access to ' "/kregexpeditor/kregexpeditor.desktop" ' denied, not owned by root, executable flag not set. X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x480023c Can be fixed with: chmod +x kregexpeditor.desktop 4. Feature: Low priority. Lint formatting of the Ascii input. When having a big regexp in a script, one would often break it up in parts (/x modifier in perl). First thought - line break after '(' and before '(' \d(?:foo|bar)\d
I searched for a tool to do it without success. Maybe it can even be done with a recursive regexp. If there is spaces in the regexp they must be converted to \040 or \h before formatting. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]