[texworks] Back references

Mark Yagnatinsky markyag at gmail.com
Tue Jul 14 06:52:59 CEST 2015

I think not.  Fully supporting backrefs sounds like work.  But it
would be really neat if the next version of TeXWorks supported at
least referring to the entire match.  But it should be possible to
write a TeXworks script that does this for now.  If you don't know how
to do this, either ask this mailing list, or the lovely folks
tex.stackexhange.com for help.  (It's actually possible someone
already wrote such a script.  It's worth checking.)

On Sat, Jul 11, 2015 at 10:23 PM, Rajan Ananthan
<rajan.ananthan at gmail.com> wrote:
> 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?

More information about the texworks mailing list