in reply to Re: Substituting a comma only when it is preceded and followed by a bracket
in thread Substituting a comma only when it is preceded and followed by a bracket
Here's the proper one;
while($_=~ s@\(([^\)]*?),@\($1;@gs){}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Substituting a comma only when it is preceded and followed by a bracket
by Logicus (Initiate) on Nov 03, 2011 at 02:08 UTC |