*. become (.+?)\\. and *. become \1
# announcements
l
*. become (.+?)\\. and *. become \1
g
and
(
becomes
\(
and
{
becomes
\{
and on and on and on
and java doesnt even have a facility for this automatically, meaning I'd have to write it and writing a complete regex escaper might well be beyond my skill to write without bugs
also the default wrapping scheme in java is to surround things with a
\Qtextextext\E
, which might suffice for some situations but not mine, meaning I'd have to mangle the string into multiple sections surrounding them with \Q and \E if i wanted to use this strategy