- Timestamp:
- 10/01/09 18:31:46 (4 years ago)
- Location:
- lang/perl/FormValidator-LazyWay/trunk
- Files:
-
- 2 modified
-
lib/FormValidator/LazyWay/Rule/Japanese.pm (modified) (2 diffs)
-
t/rule-japanese-katakana.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/FormValidator-LazyWay/trunk/lib/FormValidator/LazyWay/Rule/Japanese.pm
r17343 r35491 16 16 $allow = Encode::decode('utf8', $allow) 17 17 if $args->{bytes}; 18 $text =~ s{$allow}{} xmsg;18 $text =~ s{$allow}{}g; 19 19 } 20 20 } … … 44 44 $allow = Encode::decode('utf8', $allow) 45 45 if $args->{bytes}; 46 $text =~ s{$allow}{} xmsg;46 $text =~ s{$allow}{}g; 47 47 } 48 48 } -
lang/perl/FormValidator-LazyWay/trunk/t/rule-japanese-katakana.t
r35085 r35491 37 37 allow: 38 38 - ' ' 39 --- result chomp 40 1 41 === space ok 42 --- value chomp 43 アイ ウエオ 44 --- args yaml 45 allow: 46 - ' ' 39 47 --- result chomp 40 48 1
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)