5 Replies Latest reply on Oct 2, 2014 5:28 PM by douglsmith1

    Grep style shortest match (non-greedy) modifier ignored


      I'm looking for confirmation on a possible bug that I've had problems with from InDesign version 5.5 up through the current CC


      What I'm trying to do is apply a character style via a grep rule in a paragraph style that matches everything up until the first colon in a block of text. The goal is to make that text bold. My grep rule is


      which means match one or more of any character, shortest match (non-greedy in grep terminology), followed by a colon. But the non-greedy modifier is being ignored and it's matching all of the text up until the last colon.


      Here's a screen shot.


      Screen Shot 2014-10-02 at 5.05.14 PM.PNG

      I've come up with a work around, but it would be nice for it to work properly. I'll report it as a bug if others confirm having the same problem. Thanks.