Reply To: Strange GREP behavior

#71308

Thanks David for the reply. Your expression fails in my document at the same point as mine.

I rekeyed the paragraph in a new InDesign document and both of our expressions fail at the same point.

Somehow this behavior is related to the sentence before it as I stated above. I deleted a word at a time and it wasn’t until the whole sentence and the period was deleted that it behaved in the manner I expected.

Now, looking at my post and the text I copied from the document, I notice the hyphenated words are sometimes supported with a hyphen and in the problem sentence they show up with “?”‘s. I retyped the sentence with no hyphens just full words and GREP still grabs the entire sentence in addition to the question.

As long as there are not too many pages I can style the questions manually but as the quantity grows that can be inconvenient.

This article was last modified on October 30, 2014

Comments (0)

Loading comments...