On Aug 20, Paul Johnson said: >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*)/; Err, yes. My mistake. >> ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** > >But I'm sure you knew that ;-) Irony will kill me. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to count the number of whitespaces at the start of a line
Jeff 'japhy/Marillion' Pinyan Mon, 20 Aug 2001 07:17:40 -0700
- How to count the number of whitespaces at th... Darren Edgerton
- Re: How to count the number of whitespa... Me
- Re: How to count the number of whitespa... Jeff 'japhy/Marillion' Pinyan
- Re: How to count the number of whitespa... Paul Johnson
- Re: How to count the number of whitespa... Jeff 'japhy/Marillion' Pinyan
- Re: How to count the number of whitespa... nfutter
- Re: How to count the number of whitespa... Curtis Poe
- Re: How to count the number of whitespa... Jeff 'japhy/Marillion' Pinyan
- Re: How to count the number of whit... Jeff 'japhy/Marillion' Pinyan
- Re: How to count the number of whit... Curtis Poe