[konsole] [Bug 462136] regex specs
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Fri Nov 25 10:40:47 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=462136
ninjalj at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ninjalj at gmail.com
--- Comment #3 from ninjalj at gmail.com ---
That's not what non-capturing groups are for. What you need for your use-case
are look-around assertions
(http://pcre.org/current/doc/html/pcre2pattern.html#SEC20). E.g. to not include
a trailing colon:
foo(?=:)
To not include a leading colon:
(?<=:)foo
or its alias:
:\Kfoo
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list