On Tuesday, 17 de January de 2012 02.43.33, Giuseppe D'Angelo wrote:
> 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).

You have a method with two option flags:
   QRegularExpressionMatch match(const QString &subject,
                                  int offset                = 0,
                                  MatchType matchType       = NormalMatch,
                                  MatchOptions matchOptions = NoMatchOption)
const;

Why can't you fold the partial match into the matchOptions as
AllowPartialMatchOption ?


--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to