On Mon, Aug 20, 2001 at 08:27:41AM -0400, Jeff 'japhy/Marillion' Pinyan wrote:

>   $str =~ /\s*/;
>   my $leading = length $1;

that would be

    $str =~ /(\s*)/;

OR

    my $leading = length $&;

> ** Look for "Regular Expressions in Perl" published by Manning, in 2002 **

But I'm sure you knew that ;-)

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to