[Gambas-user] new feature idea

Doriano Blengino doriano.blengino at ...1909...
Sat Oct 24 17:15:51 CEST 2009


Fabien Bodard ha scritto:
> in the search/replace...
>
> make a system to allow pattern
>
>
> exemple :
>
> FF a, b, c, d, x(0), S11, -680876936
> FF d, a, b, c, x(1), S12, -389564586
> this is a vb6 style i want to replace this  by
>
> FF(d, a, b, c, x[1], S12, -389564586)
>
> so a patern like:
>
> search line with
>
> FF
>
> pattern for change :
> * *(*)*
>
> replace pattern
> *(*[*]*)
>
> so the part with the * are stored and re distribued with the new patern
>   
Or, perhaps even better, use #1, #2, #3 in the replace pattern, with the 
style of mmv(1). This can be used to exchange the order of actual 
parameters in a function call.

Regards,

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."





More information about the User mailing list