- Timestamp:
- 07/22/08 13:08:42 (6 months ago)
- Location:
- perl5/Pugs-Compiler-Rule
- Files:
-
- 2 modified
-
Changes (modified) (1 diff)
-
lib/Pugs/Grammar/Base.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
perl5/Pugs-Compiler-Rule/Changes
r21420 r21435 1 - added unicode property 'isLr' 2 1 3 0.32 2008-07-21 2 4 0.31 2008-07-21 -
perl5/Pugs-Compiler-Rule/lib/Pugs/Grammar/Base.pm
r16159 r21435 170 170 { 171 171 local $@; 172 eval ' my $s="a"; $s =~ /\p{' . $meth . '}/ '; 172 my $p5 = '\p{' . $meth . '}'; 173 $p5 = '(?:\p{isLl}|\p{isLu}|\p{isLt})' if $meth eq 'isLr'; 174 eval ' my $s="a"; $s =~ /$p5/ '; 173 175 unless ( $@ ) { 174 *{$meth} = Pugs::Compiler::RegexPerl5->compile( 175 '\p{' . $meth . '}' 176 )->code; 176 *{$meth} = Pugs::Compiler::RegexPerl5->compile($p5)->code; 177 177 return $meth->( @_ ); 178 178 }
