in reply to Using sprintf in regular expreession.
Also not directly relevant because you've got them because of your misuse of /e, but in general if you need to use slashes in a match or substitution it's generally cleaner to use an alternate delimiter (or matched pair of delimiters) like s{MATCH}{REPLACE} instead to reduce the amount of backwhacking you need to do.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|