Kate seems not to support non-greedy mode (available for example in Perl by appending a question sign to a part of an expression) of regular expressions, as in the following example of a regular expression: %%(.*?)%% Please add support for such expressions. Kate 16.08.3.
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it. The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs. Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users. If you want your feature to be implemented, please step up to provide some patch for it. If you think it is really needed, you can reopen your request, but keep in mind, if no new good arguments are made and no people get attracted to help out to implement it, it will expire in a year again. We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it. Patches can be handed in via https://phabricator.kde.org/differential/ Greetings Christoph Cullmann
(In reply to Victor Porton from comment #0) > Kate seems not to support non-greedy mode (available for example in Perl by > appending a question sign to a part of an expression) of regular > expressions, as in the following example of a regular expression: > > %%(.*?)%% > > Please add support for such expressions. > > Kate 16.08.3. I had the same necessity, and I think is not a "feature request". Non-greedy question mark is an standard in any regular expression processor nowadays.
I agree, I've spent a lot until I've found it does not work as it should. Please correct this.