| Summary: | incorrect highlighting if expression ends with "$" character | ||
|---|---|---|---|
| Product: | [Applications] kregexpeditor | Reporter: | Tim Weber <kde.bugs> |
| Component: | general | Assignee: | Jesper Pedersen <blackie> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kyron |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Tim Weber
2005-06-26 00:27:29 UTC
I can confirm this. The regexp ffff$ does not match the string "ffff". A very strange bug. regexp.search( text ) inside KRegExpEditor gives another result than regexp.search( text ) inside a test program. Same regexp, same text, but different results. Is this bug present in kde 3.5.1? I'm using kde 3.5.0 and kregexpeditor shows wrong hightlighting when "end of line" ($) is used. Yes, it's still happening on my KDE 3.5.1 (Gentoo). Looked again at it and it's a bug in Qt3. I cannot verify yet whether this is still the case with the Qt4 series. Well, also the case with 3.5.4, but that one is still compiled with Qt3...so, waiting for Qt4 version. Oddly, while 'abc$' matches neither 'abc' or 'xxabc', 'abc<space>$' *does* match both, but does not match 'abc<space>'. Could it be an issue parsing the regexp, and the space is serving as a terminator? |