[tpm] how to resubstitute a captured value

Fulko Hew fulko.hew at gmail.com
Fri Apr 19 07:58:33 PDT 2013

The subject line may not say it properly, but I need
a _single_ (because of other constraints) s/// statement
that effectively performs the following:

If the string doesn't start with a hyphen and end with colon,
then I want them added.


stuff   => -stuff:
-stuff  => -stuff:
stuff:  => -stuff:
-stuff: => -stuff:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20130419/ae3f3139/attachment.html>

More information about the toronto-pm mailing list