Re: help about regex matching
- From: jeffpyh@xxxxxxxxx (Jeff Pang)
- Date: Tue, 29 Nov 2005 16:15:15 +0800
It's ok now.Thanks very much.
2005/11/29, Charles K. Clarkson <cclarkson@xxxxxxxxxx>:
> Jeff Pang <mailto:jeffpyh@xxxxxxxxx> wrote:
>
> : Thanks for Charles.That code can work well,but I still want
> : to know how to do it with regex expression.
>
> use strict;
> use warnings;
>
> local $/ = "\n\n";
> while ( <DATA> ) {
> chomp;
> printf "%-5s% 15s\n", /(.+)\n(.+)/;
> }
>
> __END__
>
>
> HTH,
>
> Charles K. Clarkson
> --
> Mobile Homes Specialist
> 254 968-8328
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
> For additional commands, e-mail: beginners-help@xxxxxxxx
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>
.
- References:
- Re: help about regex matching
- From: Jeff Pang
- RE: help about regex matching
- From: Charles K. Clarkson
- Re: help about regex matching
- Prev by Date: RE: help about regex matching
- Next by Date: Re: Matching a Scalar Variable
- Previous by thread: RE: help about regex matching
- Next by thread: Re: help about regex matching
- Index(es):
Relevant Pages
|
|