diff options
| author | fukachan <fukachan> | 2002-06-25 07:48:27 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-06-25 07:48:27 +0000 |
| commit | 7d875012d374a55dea546d266a74f4dd2cea9767 (patch) | |
| tree | 104339da0905cc47b3864ccb7b212f41e6416cb3 /fml | |
| parent | da7ff03657ce075fffaeeadd95c166c5f0e9a7d4 (diff) | |
| download | fml8-7d875012d374a55dea546d266a74f4dd2cea9767.tar.gz fml8-7d875012d374a55dea546d266a74f4dd2cea9767.tar.bz2 fml8-7d875012d374a55dea546d266a74f4dd2cea9767.zip | |
define map as same as file
enhance file and dirctory regexp to include _
Diffstat (limited to 'fml')
| -rw-r--r-- | fml/lib/FML/Restriction/Base.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fml/lib/FML/Restriction/Base.pm b/fml/lib/FML/Restriction/Base.pm index 6901ab10..9808bb68 100644 --- a/fml/lib/FML/Restriction/Base.pm +++ b/fml/lib/FML/Restriction/Base.pm @@ -3,7 +3,7 @@ # Copyright (C) 2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Base.pm,v 1.10 2002/04/23 09:31:37 fukachan Exp $ +# $FML: Base.pm,v 1.11 2002/06/22 14:22:44 fukachan Exp $ # package FML::Restriction::Base; @@ -95,8 +95,9 @@ my %basic_variable = 'article_id' => '\d+', # file, directory et.al. - 'directory' => '[-a-zA-Z0-9]+', - 'file' => '[-a-zA-Z0-9]+', + 'directory' => '[-a-zA-Z0-9_]+', + 'file' => '[-a-zA-Z0-9_]+', + 'map' => '[-a-zA-Z0-9_]+', ); |
