Re: [Development] look-behind assertions in syntax HL?

2014-02-17 Thread Matthew Woehlke
On 2014-02-16 12:02, Thiago Macieira wrote: Em dom 16 fev 2014, às 15:09:49, Giuseppe D'Angelo escreveu: 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

Re: [Development] look-behind assertions in syntax HL?

2014-02-17 Thread Thiago Macieira
Em seg 17 fev 2014, às 11:06:52, Matthew Woehlke escreveu: On 2014-02-16 12:02, Thiago Macieira wrote: Em dom 16 fev 2014, às 15:09:49, Giuseppe D'Angelo escreveu: I guess that for Kate's purposes a small wrapper class around QRegExp + QRegularExpression would suffice for supporting both

Re: [Development] look-behind assertions in syntax HL?

2014-02-16 Thread Giuseppe D'Angelo
On 14 February 2014 18:25, Matthew Woehlke mw_tr...@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

Re: [Development] look-behind assertions in syntax HL?

2014-02-16 Thread Thiago Macieira
Em dom 16 fev 2014, às 15:09:49, Giuseppe D'Angelo escreveu: 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

Re: [Development] look-behind assertions in syntax HL?

2014-02-14 Thread Giuseppe D'Angelo
On 13 February 2014 18:52, Matthew Woehlke mw_tr...@users.sourceforge.net wrote: Why does the Qt5 QRegExp documentation not mention QRegularExpression? Because it's an oversight, I guess... patches for the docs are more than welcome! :) (The big picture is that QRegularExpression is not a 1:1

Re: [Development] look-behind assertions in syntax HL?

2014-02-14 Thread Matthew Woehlke
On 2014-02-14 07:12, Giuseppe D'Angelo wrote: On 13 February 2014 18:52, Matthew Woehlke wrote: Why does the Qt5 QRegExp documentation not mention QRegularExpression? Because it's an oversight, I guess... patches for the docs are more than welcome! :) Naturally :-). Comments like the above

Re: [Development] look-behind assertions in syntax HL?

2014-02-13 Thread Matthew Woehlke
On 2014-02-13 11:58, Matthew Woehlke wrote: On 2014-02-13 11:38, Milian Wolff wrote: QRegularExpression in Qt5 does support look-behind. [snip] There's a new regex class? Interesting; first I'd heard of it. Why does the Qt5 QRegExp documentation not mention QRegularExpression? Also, in the