[pacman-dev] [PATCH] Enable Perl regular expressions in NoExtract.
Florian Pritz
bluewind at xinu.at
Wed Jun 5 03:37:24 EDT 2013
On 05.06.2013 08:23, Patrick Steinhardt wrote:
> On Wed, Jun 05, 2013 at 02:16:22AM -0400, Andrew Gregory wrote:
>> NoExtract = glob::usr/share/locale/*
>> NoExtract = pcre::usr/share/locale/(?!en_US).*
>
> Still, it doesn't feel right to prefix every regex and it's unlikely
> users will mix glob and pcre.
>
> Because of this I'd prefer the MatchStyle option.
I'm leaning towards MatchStyle here too. fnmatch's features (probably *
being the only one used, if any at all) can be rewritten in pcre rather
simply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130605/a7d055c3/attachment.asc>
More information about the pacman-dev
mailing list