[comp.lang.perl] problem with {n,m} notation

tchrist@convex.com (Tom Christiansen) (10/03/90)

Perl doesn't seem to handle {n,m} rexprs where n or m are double digits.
For example, this script has no output:

    #!/usr/bin/perl
    $_ = 'aiiiiiiiiiiiiiib';
    if (/ai{6,25}b/) { print "ok\n"; }

I'm still at PL18, waiting for the dbm stuff to get fixed.

--tom
--
 "UNIX was never designed to keep people from doing stupid things, because 
  that policy would also keep them from doing clever things." [Doug Gwyn]

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (10/08/90)

In article <106765@convex.convex.com> tchrist@convex.Com (Tom Christiansen) writes:
: Perl doesn't seem to handle {n,m} rexprs where n or m are double digits.
: For example, this script has no output:
: 
:     #!/usr/bin/perl
:     $_ = 'aiiiiiiiiiiiiiib';
:     if (/ai{6,25}b/) { print "ok\n"; }

That's been fixed.

: I'm still at PL18, waiting for the dbm stuff to get fixed.

That's been fixed too.  I hope to put out the next patch this week
sometime, but things are being hectic, as usual.

Larry