But what if the string is ':foo'?
s/([^C:]*):/$1'/g;
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: Is there a way I can substitute for ":" except when it is preceded by a letter C
by tachyon
in thread Is there a way I can substitute for ":" except when it is preceded by a letter C
by kirk123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |