GRegex: update documentation for partial matching
authorSébastien Wilmet <swilmet@gnome.org>
Fri, 12 Jul 2013 14:44:13 +0000 (16:44 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sat, 20 Jul 2013 09:07:46 +0000 (11:07 +0200)
commit4f327d6379c3eb8f9dcd5127349c06f1d34b1155
treef2912e18dcf1a687f0a62af5697137d695fcbe77
parentb3968fb1501bb2950e6c15aad95083e6f01973ba
GRegex: update documentation for partial matching

The restrictions on partial matching no longer apply with PCRE >= 8.00.

The pcrepartial manpage contains the "FORMERLY RESTRICTED PATTERNS"
section:

"For  releases  of PCRE prior to 8.00, because of the way certain
internal optimizations were implemented in the pcre_exec() function, the
PCRE_PARTIAL option (predecessor of PCRE_PARTIAL_SOFT) could not be used
with all patterns. From release 8.00 onwards, the restrictions no
longer  apply,  and  partial  matching  with  can  be requested for any
pattern."

https://bugzilla.gnome.org/show_bug.cgi?id=704250
glib/gregex.c