https://bugs.kde.org/show_bug.cgi?id=462136
netizen <rgawe...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOT A BUG Status|REPORTED |RESOLVED --- Comment #4 from netizen <rgawe...@gmail.com> --- (In reply to ninjalj from comment #3) > 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're right, and it works! I'm sorry. I'm closing this -- You are receiving this mail because: You are watching all bug changes.