Revision 756554
Go back to digest for 6th January 2008Optimization in KDE Base
Robert Knight committed changes in /trunk/KDE/kdebase/apps/konsole/src/Filter.cpp:
Fix a performance problem with the email address matching filter. The email address regular expression was very general and could match very long pieces of text which were not actually email addresses.
Adding word boundary markers improves this significantly.
See the python xample code here for a test case: <a href="http://bugzilla.gnome.org/show_bug.cgi?id=350015">http://bugzilla.gnome.org/show_bug.cgi?id=350015</a>
File Changes
Modified 1 files
- /trunk/KDE/kdebase/apps/konsole/src/Filter.cpp
1 files changed in total