Skip to main content
Participant
April 8, 2023
Pregunta

Grep style will only apply the first one (top)

  • April 8, 2023
  • 2 respuestas
  • 636 visualizaciones

I've created 2 grep styles (in the same para style) with two unrelated character styles.
They line in question only applies the first and not the second, but when I move the second to the top that one applies and the other does not. 

Please help!

 

Este tema ha sido cerrado para respuestas.

2 respuestas

Community Expert
April 9, 2023

I tried it and it works for me, both the Grep styles work. Did you try this on some other document? Maybe the document is corrupted. If it works on another document then exporting to IDML and resaving it to INDD should be tried to see if the document with the issue is fixed.

-Manan

-Manan
Peter Spier
Community Expert
Community Expert
April 9, 2023

I tried it too, and got the same results as the OP with his expressions. The change I suggested fixed it for me.

Community Expert
April 10, 2023

Now that's interesting @Peter Spier. Can you share your InDesign version and the OS version so that I can check. If you send a sample document that would be great. Different outcomes for different people is strange

P.S.;- I use InDesign version 18.2.1.455 and MAC OS version 12.6.4

-Manan

-Manan
Peter Spier
Community Expert
Community Expert
April 8, 2023

Change the second expression to \/\d+ and see if that works for you.