diff options
| author | fukachan <fukachan> | 2002-03-24 11:18:09 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-03-24 11:18:09 +0000 |
| commit | 60228b86ef8b62d14eaeeeab51878f558293dab7 (patch) | |
| tree | 012643ebed4c99af7248f7b90a19fdc8a323a3d5 /fml | |
| parent | 67511983f88c03a29c9380df76a1ecf7b9e14df7 (diff) | |
| download | fml8-60228b86ef8b62d14eaeeeab51878f558293dab7.tar.gz fml8-60228b86ef8b62d14eaeeeab51878f558293dab7.tar.bz2 fml8-60228b86ef8b62d14eaeeeab51878f558293dab7.zip | |
define directory regexp as [-a-zA-Z0-9]+
permit . in "user" part in e.g. "address"
Diffstat (limited to 'fml')
| -rw-r--r-- | fml/lib/FML/Restriction/Base.pm | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/fml/lib/FML/Restriction/Base.pm b/fml/lib/FML/Restriction/Base.pm index 0ea519be..253ce534 100644 --- a/fml/lib/FML/Restriction/Base.pm +++ b/fml/lib/FML/Restriction/Base.pm @@ -1,9 +1,9 @@ #-*- perl -*- # -# Copyright (C) 2001 Ken'ichi Fukamachi +# Copyright (C) 2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Base.pm,v 1.4 2001/12/23 12:19:14 fukachan Exp $ +# $FML: Base.pm,v 1.5 2002/03/18 13:54:28 fukachan Exp $ # package FML::Restriction::Base; @@ -58,15 +58,18 @@ sub new my %basic_variable = ( - 'address' => '[-a-z0-9_]+\@[-A-Za-z0-9\.]+', - 'address_specified' => '[-a-z0-9_]+\@[-A-Za-z0-9\.]+', - 'address_selected' => '[-a-z0-9_]+\@[-A-Za-z0-9\.]+', + 'address' => '[-A-Za-z0-9_\.]+\@[-A-Za-z0-9\.]+', + 'address_specified' => '[-A-Za-z0-9_\.]+\@[-A-Za-z0-9\.]+', + 'address_selected' => '[-A-Za-z0-9_\.]+\@[-A-Za-z0-9\.]+', - 'ml_name' => '[-a-z0-9_]+', - 'action' => '[-a-z_]+', - 'command' => '[-a-z_]+', - 'user' => '[-a-z0-9_]+', - 'article_id' => '\d+', + 'user' => '[-A-Za-z0-9_\.]+', + 'ml_name' => '[-A-Za-z0-9_\.]+', + 'action' => '[-A-Za-z_]+', + 'command' => '[-A-Za-z_]+', + 'article_id' => '\d+', + + # directory + 'directory' => '[-a-zA-Z0-9]+', ); @@ -87,7 +90,7 @@ Ken'ichi Fukamachi =head1 COPYRIGHT -Copyright (C) 2001 Ken'ichi Fukamachi +Copyright (C) 2001,2002 Ken'ichi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |
