[Development] QRegularExpression -- first round of API review

Charley Bay charleyb123 at gmail.com
Tue Jan 17 14:10:15 CET 2012


>
> > 3) Need a couple of better names for partial matching:
> > - partial match preferring a complete match
> > - partial match returning whatever match (partial or complete) is found
> > first
> >
> > PCRE uses Soft and Hard respectively (which are quite meaningless to
> > me).
>
> PreferCompleteMatch / PreferFirstMatch?
>

I so very much prefer "generic-to-specific" in names for better
auto-completion and grouping of like-minded, like:

  - PreferMatchComplete
  - PreferMatchFirst

--charley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120117/af9a27f9/attachment.html>


More information about the Development mailing list