[texworks] Back references

Rajan Ananthan rajan.ananthan at gmail.com
Sun Jul 12 04:23:32 CEST 2015


Are back-references supported in the Find and Replace regex expressions?

I want to find a one or two digit number:

Activity [\d]{1,2}

And replace with the same match but with new line appended

Activity \1 \\\\

This replaces all occurrences with the \1 literal and not its value. What
is the proper syntax?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20150711/1082e310/attachment.html>


More information about the texworks mailing list