Skip to main content
Inspiring
October 11, 2022
Answered

Search and Replace bug

  • October 11, 2022
  • 3 replies
  • 255 views

Latest InDesign (17.4) version for Mac Catalina 10.15.7. Bug not encountered in earlier versions. When searching for a word in a list in order to capitalize all, if that word occurs twice and consecutively, InDesign cannot find the second occurrence. For example, searching for "red" in the list below in order to change it to "Red":

 

sled

green

blue

red

red

orange

red

yellow

sled

 

and including a ^p both before and after the search string: "^pred^p" (to avoid editing "sled"), InDesign cannot find the second occurrence in the list no matter how many times I run the function. If I turn on "case sensitive", it will find it on the second run. Interestingly, if "red" occurs more than twice consecutively -- say, 8 times -- InDesign will only find every other one.

This topic has been closed for replies.
Correct answer Brad @ Roaring Mouse

You included a paragraph return before AND after the first instance of the word, so when it's found the first "red", it's already past the second carriage return so won't see one ahead of the next instance

3 replies

Brad @ Roaring Mouse
Community Expert
Brad @ Roaring MouseCommunity ExpertCorrect answer
Community Expert
October 11, 2022

You included a paragraph return before AND after the first instance of the word, so when it's found the first "red", it's already past the second carriage return so won't see one ahead of the next instance

Barb Binder
Community Expert
Community Expert
October 11, 2022

Ah. I understand. This is the Community Forum where we help users understand the software and explain workflow issues. 

 

Please post bugs (and feature requests) here so that the Adobe engineering team will see it: https://indesign.uservoice.com/

 

~Barb

~Barb at Rocky Mountain Training
Inspiring
October 11, 2022

My apologies. I was directed here, but will move this report to https://indesign.uservoice.com/.

 

Thank you.

Barb Binder
Community Expert
Community Expert
October 11, 2022

You could use a GREP query (pattern-based instead of an exact character or format match) instead, which lets you specifiy location.

 

For example, after selecting the GREP tab at the top of the F/C dialog box, searching for \bred\b will find all occurences as a single word the first time you search. Following what you are doing now, replace with Red.

 

~Barb

 

 

~Barb at Rocky Mountain Training
Inspiring
October 11, 2022

Yes, and thank you very much. I was not looking for a work around here, only to report that InDesign should not be acting this way in the first place.