Ich kann nicht herausfinden, wie man die Watch-Words ersetzt

Previously we were using the Auto-Linkify theme component, but now unable to do that as we discontinue use of it.

So now we’re trying to work with the built-in Watched Words feature, and doing a Replace with RegEx.

We’re using Height for our tickets, which are all numbered like T-123 and then the URL just uses that T-123 behind a / to create the link.

The expression (T\-\d*) can successful capture the T-123 example, but I can’t get the $1 to be replaced by it. Ideally it would produce a link that’s like [T-123](https://xmtp.height.app/T-123). How do I go about this?

This is what I had entered into Watched Words, though I recognize that it wouldn’t actually do the same as before (auto linkify).
CleanShot 2021-10-14 at 16.25.47@2x

2 „Gefällt mir“

Ich weiß nicht, dass Regex-Erfassung und -Ersetzung in „Watched Words“ unterstützt wird, nur Übereinstimmung, keine Erfassung und Ersetzung.

2 „Gefällt mir“

Verstanden! Und ja, das ist ärgerlich. Ich hatte gehofft, dass ich die gleiche Funktionalität wie in Auto-linkify mit den integrierten Funktionen erhalten könnte, da dies alles war, was in Discourse for Teams verfügbar war.

Ich würde diese Funktionalität trotzdem gerne eines Tages sehen!

3 „Gefällt mir“