Kate regex engine type
christoph at cullmann.io
Fri Jul 26 08:03:56 BST 2019
would this be something like option
For that, we would first need to port to QRegularExpression
and then either add such a modifier or turn this on per default.
I think at the moment nobody works on this, perhaps you could
create some bug report for this issue.
On 2019-07-26 00:30, Solaris at zoznam.sk wrote:
> Hi Christoph, thanks a lot for clarification.
> If I understand help docs right the QRegExp should be Unicode
> compatible. But it seems that dot does not match the unicode chars -
> is there please any switch in Kate for unicode mode on/off?
> sample situation:
> the regex:
> the string:
> item tvcho položkáchoio zsdad
> You can see the matching of the regex above with non-full-unicode
> support here (or directly in Kate; please ignore that in regex101.com
> the PCRE engine is selected - Kate regex behaves the same):
> and here the matching with full-unicode (in PCRE it is achieved with
> switch "u" turned on):
> I am looking, please, for something similar in Kate as the "u" switch
> is in PCRE.
> Many thanks, with best regards, Peter+
> On 23.7.2019 9:54, Christoph Cullmann wrote:
>> On 2019-07-19 00:00, Solaris at zoznam.sk wrote:
>>> Hi, can anyone tell me pls what regex engine Kate uses? I mean
>>> something like "compatible with PCRE", or " ... Java Script
>>> compatible", etc..
>>> Thx, Peter+
>> We use QRegExp at the moment for some things and port part for part to
>> the PCRE compatible QRegularExpression.
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel