summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-02-26 00:27:15 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-25 22:19:56 +0000
commita1151a3c9c10fc898227cdf7ae1192901ad8fd45 (patch)
treeae8e1875c3ddf612a1f8101ac4ccb613fb959f62 /configpm
parent3964a0853789ff572975bc4001bfa8369ea0bd90 (diff)
downloadperl-a1151a3c9c10fc898227cdf7ae1192901ad8fd45.tar.gz
cleanups
Message-ID: <20020225232715.C744@rafael> p4raw-id: //depot/perl@14875
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm10
1 files changed, 8 insertions, 2 deletions
diff --git a/configpm b/configpm
index d8339fa22b..a22f9a2404 100755
--- a/configpm
+++ b/configpm
@@ -451,8 +451,14 @@ EOF
(?! e \. g \. ) # Not e.g.
(?! \. \. \. ) # Not ...
(?! \d ) # Not 5.004
- ( [\w./]* [./] [\w./]* ) # Require . or / inside
- (?<! \. (?= \s ) ) # Do not include trailing dot
+ (?! read/ ) # Not read/write
+ (?! etc\. ) # Not etc.
+ (?! I/O ) # Not I/O
+ (
+ \$ ? # Allow leading $
+ [\w./]* [./] [\w./]* # Require . or / inside
+ )
+ (?<! \. (?= [\s)] ) ) # Do not include trailing dot
(?! [\w/] ) # Include all of it
}
(F<$1>)xg; # /usr/local