use SelfLoader;
use vars qw { $VERSION @ISA %EXPORT_TAGS };
-use version; $VERSION = qv('1.99.1_1');
+use version; $VERSION = qv('2.0.0');
@ISA = qw ( Exporter );
%EXPORT_TAGS = ( ALL => [ qw(
$rdel1 =~ tr/[({</])}>/;
defined(_match_bracketed($textref,"",$ldel1,"","",$rdel1))
|| do { pos $$textref = $startpos; return };
+ $ld2pos = pos($$textref);
+ $rd1pos = $ld2pos-1;
}
else
{
- $$textref =~ /$ldel1[^\\$ldel1]*(\\.[^\\$ldel1]*)*$ldel1/gcs
+ $$textref =~ /\G$ldel1[^\\$ldel1]*(\\.[^\\$ldel1]*)*$ldel1/gcs
|| do { pos $$textref = $startpos; return };
+ $ld2pos = $rd1pos = pos($$textref)-1;
}
- $ld2pos = $rd1pos = pos($$textref)-1;
my $second_arg = $op =~ /s|tr|y/ ? 1 : 0;
if ($second_arg)
1.99.1 Thu Nov 16 09:29:14 2006
+ - Included dependency on version.pm (thanks Andy)
+
+
+
+2.0.0 Wed Dec 20 10:50:24 2006
+
+ - Added patches from bleadperl version (thanks Rafael!)
+
+ - Fixed bug in second bracketed delimiters (thanks David)
use vars qw( $DEBUG );
#$DEBUG=1;
sub debug { print "\t>>>",@_ if $ENV{DEBUG} }
-sub esc { my $x = shift; $x =~ s/\n/\\n/gs; $x }
+sub esc { my $x = shift||'<undef>'; $x =~ s/\n/\\n/gs; $x }
######################### End of black magic.