GREP styles as stand-alone named styles
I use GREP styles a lot, and they are very convenient! But I often have to use the same GREP styles in different paragraph styles. Sometimes they consist of rather complex long expressions, and their transfer to another publication becomes difficult and time-consuming. GREP styles should be placed in a separate list, similar to the other stylesheets, and each of them must have its own name, with which they can be included in the paragraph style.
Robert Wiedemann commented
That would make a lot of sense.
Also a description field where you can briefly describe what the GREP does (for colleagues who can't decipher the code that quickly).
Agree, as well as being able to import the Grep style like any other stylesheet, from a different .indd file
Viacheslav Horobchenko commented
Josh Langman commented
Agreed. Breaking GREP styles out of paragraph styles, but continuing to allow paragraph styles to reference them, would be very helpful. It would eliminate the need to manually copy GREP styles from one paragraph style to another, and it would allow for naming GREP styles as well.
Ruth Ivimey-Cook commented
There is already a standard method of embedding comments into regular expressions, so I would ask that this was used, along with the option of multiline input in the Find dialogs.
Agree. And with the ability to add a comment for each GREP style.