gio001 has asked for the wisdom of the Perl Monks concerning the following question:
will get replaced by :catch [ [ commands etc ................ ] ]
There is a twist, though, the line could span 2 lines like this:catch { [ commands etc ................ ] }
Could you please advise how could I get a proper regexp to perform the change throughout my files to achieve also the multi line to be transformed into:catch [ [ commands etc ................ ] \ ..... other commands and brackets ]
Thanks.catch { [ commands etc ................ ] \ ..... other commands and brackets }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search and Replace on multi line ability
by GrandFather (Saint) on Oct 04, 2008 at 00:18 UTC | |
by Anonymous Monk on Oct 04, 2008 at 03:44 UTC | |
|
Re: Search and Replace on multi line ability
by ikegami (Patriarch) on Oct 03, 2008 at 23:28 UTC | |
|
Re: Search and Replace on multi line ability
by NetWallah (Canon) on Oct 03, 2008 at 23:42 UTC |