]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix greediness
authorradek <radek@pld-linux.org>
Wed, 20 Aug 2008 19:41:01 +0000 (19:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-perl_req-use_base.patch -> 1.3

rpm-perl_req-use_base.patch

index ccf86bca99d38545364c824790ea731b01e6a511..18716dfdd2e8cddeef93e1e78d18c9c3523c36dc 100644 (file)
@@ -9,12 +9,12 @@
 +    if (
 +        m/^ \s*
 +           use \s+ base
-+           (?:  \s+ q[wq]? \s* ( [!@#\$%^&*'"\/+=`~,.?-] )  \s* ( \S+? (?: \s+\S+ )* ) \s* \1
++           (?:  \s+ q[wq]? \s* ( [!@#\$%^&*'"\/+=`~,.?-] ) \s* ( \S+? (?: \s+\S+? )*? ) \s* \1
 +               |
-+                \s* ( ["'] ) ( \S+ ) \3
++                \s* ( ["'] ) ( \S+? ) \3
 +               |
 +                # qw[], qw(), qw<>, qw{} are handled here; lax, but who gives
-+                \s+ q[wq]? \s* [\[({<] \s* ( \S+? (?: \s+\S+ )* ) \s* [\])}>]
++                \s+ q[wq]? \s* [\[({<] \s* ( \S+? (?: \s+\S+? )*? ) \s* [\])}>]
 +           )
 +           \s* ;
 +       /x
This page took 0.130305 seconds and 4 git commands to generate.