[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Regex help



Le Fri, Dec 10, 2004 at 07:15:50AM -0800, Alex Barylo ecrit :
> #!/usr/bin/perl
> for (<>) {
> s!\{_(Start|End)Range_\}!!;
> while (s!\{_Index\s+([^}]+)\s+_\}!!) { print "%s/$1//g\n" }
> }
---end quoted text / fin de citation---

I already had something similar on another list. But thanks you for
helping me, it is very kind. I'll keep your piece of code, it could be
useful later.

Have a nice day
Fanfan

-- 
S'il fallait prendre soin de sa santé comme on prend soin de se
divertir, alors on ne serait jamais malade.  
                           [François Gervais]

Attachment: signature.asc
Description: Digital signature


Reply to: