[Development] look-behind assertions in syntax HL?

Thiago Macieira thiago.macieira at intel.com
Sun Feb 16 18:02:08 CET 2014


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 QRegularExpression.

Fixed strings are supported already: QRegularExpression::escape.

For wildcards, we should simply add another static that converts ? to . and * 
to .*. Do we want to support more interesting globbing things like []?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list