projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f1e45b
)
allow /J as a prefix
author
minima
<minima>
Thu, 4 Jul 2002 16:43:01 +0000
(16:43 +0000)
committer
minima
<minima>
Thu, 4 Jul 2002 16:43:01 +0000
(16:43 +0000)
perl/Prefix.pm
patch
|
blob
|
history
diff --git
a/perl/Prefix.pm
b/perl/Prefix.pm
index 66f3644e9333a1b5a17ad9a70cafcd30776a1ce0..99fc49fdca07244831332c326ed762251a24ae6e 100644
(file)
--- a/
perl/Prefix.pm
+++ b/
perl/Prefix.pm
@@
-163,9
+163,9
@@
sub extract
$p = $parts[0];
shift @parts if $p =~ /^(WEB|NET)$/o;
$p = $parts[$#parts];
$p = $parts[0];
shift @parts if $p =~ /^(WEB|NET)$/o;
$p = $parts[$#parts];
- pop @parts if $p =~ /^(\d+|[
J
PABM]|AM|MM|BCN|JOTA|SIX|WEB|NET|Q\w+)$/o;
+ pop @parts if $p =~ /^(\d+|[PABM]|AM|MM|BCN|JOTA|SIX|WEB|NET|Q\w+)$/o;
$p = $parts[$#parts];
$p = $parts[$#parts];
- pop @parts if $p =~ /^(\d+|[
J
PABM]|AM|MM|BCN|JOTA|SIX|WEB|NET|Q\w+)$/o;
+ pop @parts if $p =~ /^(\d+|[PABM]|AM|MM|BCN|JOTA|SIX|WEB|NET|Q\w+)$/o;
# can we resolve them by direct lookup
foreach $p (@parts) {
# can we resolve them by direct lookup
foreach $p (@parts) {