[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: [Development] look-behind assertions in syntax HL?
From: "Giuseppe D'Angelo" <dangelog () gmail ! com>
Date: 2014-02-16 14:09:49
Message-ID: CAPm+cvgKDH-vLuOXjgtOMRzSyEb9BtkC04bXu7wUPS0pk696qA () mail ! gmail ! com
[Download RAW message or body]
On 14 February 2014 18:25, Matthew Woehlke
<mw_triad@users.sourceforge.net> wrote:
>
> That said... is there any technical reason why QRegExp couldn't sprout a
> PCRE expression type, that would use QRegularExpression internally? That
> would neatly solve the expression types problem (though
> QRegularExpression would still have a better API...). And also everyone
> already supporting QRegExp would suddenly get PCRE support "for free".
It could certainly be done from a technical POV, but I'd rather prefer
not giving people the idea that QRegExp is actively
developed/maintained, so that when we finally deprecate it the news
doesn't come as a surprise...
I guess that for Kate's purposes a small wrapper class around QRegExp
+ QRegularExpression would suffice for supporting both syntaxes. For
the future, we could instead think of adding wildcard and fixed-string
pattern types to QRegularExpression.
Thanks,
--
Giuseppe D'Angelo
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic