Re: substitution
- From: Alexandre Jaquet <alexj@xxxxxxxxxxx>
- Date: Wed, 25 May 2005 01:13:03 +0200
John W. Krahn a écrit :
Alexandre Jaquet wrote:
I would like to replace all fields values who begin by $ERROR with empty value:
I've try something like : s/\$ERROR{'([\w]+)'}/ /;
but didn't work
Perhaps this will work better (untested):
s/\$ERROR{\s*(?:(['"]).+?\1|\w+)\s*}/ /;
John
nope still not but thanks .
- References:
- substitution
- From: Alexandre Jaquet
- Re: substitution
- From: John W. Krahn
- substitution
- Prev by Date: Re: substitution
- Next by Date: Re: FormMail Problem
- Previous by thread: Re: substitution
- Next by thread: Re: substitution
- Index(es):