@Davey – I can see no problem with that on my side…
What version of InDesign are you using?
I am running CS6 on Mac OS 10.8.5
I just tried saving as IDML and retrying - no luck.
I made a sample of my file for testing purposes.
Not knowing what version of Indesign testers will have, I saved it as IDML.
If you can check this file (link below) out to see if it works on your side I would appreciate it
while Uwe is out for beer...
enter into the grep find field: \s\d+
Tip: DO NOT enter FOOTNOTE style in the 'find'.
nothing at all, just leave it empty, and you'll get it..
That does work... but that doesnt really answer the question:
- It is only good if you know that there are no other instances of \s+\d+ in the table besides for these (which might not be the case)
- It is still producing un-expected results. Why shouldnt it work with FOOTNOTE style in the find?
as you can notice, char style applied by GREP is not exactly the same as applied manually...
select your 'footnote' text and look at the char palette - you won't see the char style is applied.
in search you better define some other unique attribute, other than by-grep-applied-char-style.
You can specify unique color for your Footnote char style and then enter that color (not style itself!) in search field...
That is something interesting which I noticed myself
What bothered me was that it did recognize the style in the other cells. Only in the cells that had the parentheses did it not recognize the style
If it didnt work at all - I would be happier!
For now, your idea to choose an attribute from the style is a good idea
Frankly, I'm a bit short in time right now to dig in deeply, but there is another solution:
1. disable temporarily your another grep in para style (aplying 'Small') - by entering asterisk at the beginning of grep code.
2. do F/C as you initially tried (with Footnote style in search field)
3. re-enable 'Small' grep in Qty / Sku para style.
not sure yet, why it works that way...
Thanks for the analysis... what in the world could cause that!???
But at least we're one step closer
I thought maybe it was the last character that was somewhat messing up the search with style
But I tried searching a space and just 2 digits - but it still didnt work!
Let me know if you figure out anything else
@Davey – back from having a beer ;-)
Seriously: I think this might be a bug in InDesign CS6.
I tested with your IDML, your GREP \s\d+ and in CS5.5 and there are no problems finding ALL occurences of the applied GREP Style in the table: 136 changes made.
Oh, it MUST be CS6 bug then...
OP is on Mac, I'm on Win7 64-bit, both on CS6. And search results are totally unpredictable here...
@ Uwe - I hope it was a good one
Thanks for your analysis.
@ Winterm - thanks for confirming!
Although this doesn't help us CS6ers, it does clarify that what we're stuck with is a bug!