There's been a longstanding request in the Publisher v1 forum to add GREP into Text styles. I was excited to see the announcement about v2 but saddened to see this didn't make it in. Since the feature isn't there (yet? ) and since those v1 forums are being archived, I'm bringing the request into this new forum to keep it alive.
For a specific kind of technical document I work with, there are dozens of types of replacements that need to happen on the text in new docs, within one text style. Having the GREP expressions in the style definition makes all of these replacements happen in one click of applying a style, rather than a laborious effort to do them individually.
I understand that this isn't a mainstream feature, but it's so, so helpful to those that need it. Since the engine is already in the software, it seems like it shouldn't be a huge deal to be able to attach GREP search/replace expressions into a text style. I could be wrong, of course, as I'm not a developer. But I (and many others) would very much appreciate this coming in a new update.