https://bugs.kde.org/show_bug.cgi?id=462136

ninj...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ninj...@gmail.com

--- Comment #3 from ninj...@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 watching all bug changes.

Reply via email to