Re: how to do this with RE?
- From: "Dr.Ruud" <rvtol+news@xxxxxxxxxxxx>
- Date: Fri, 1 Dec 2006 13:37:38 +0100
Charles DeRykus schreef:
Arthur:
What I want is to replace the leading spaces with
$foo = " Willy";
$foo =~ s/\G\s/ /g;
Nice example of \G usage.
--
Affijn, Ruud
"Gewoon is een tijger."
.
- Follow-Ups:
- Re: how to do this with RE?
- From: DJ Stunks
- Re: how to do this with RE?
- From: Mumia W. (reading news)
- Re: how to do this with RE?
- References:
- Re: how to do this with RE?
- From: Charles DeRykus
- Re: how to do this with RE?
- Prev by Date: Re: unable to use @ARG in Perl
- Next by Date: Re: Regex failed to replace utf8 character
- Previous by thread: Re: how to do this with RE?
- Next by thread: Re: how to do this with RE?
- Index(es):
Relevant Pages
|