Grep expressions with ~F in a character class fail in endnotes
The inclusion of ~F in a character class invalidates grep expressions in endnotes.
InDesign version: 14.0.2.324 (with the GREP fix installed)
Steps to reproduce:
- Open the attached document. It contains a single page with text and an endnote.
- In the GREP tab of the Find/What window, enter the following GREP expression:
\d[^.,;~F]+
And target the document. The expression matches from a digit up to the next period, comma, semicolon, or footnote marker.
Expected result: The expression should match some text in the main text and in the endnote.
Actual Result: The expression does not match anything in the endnote.
To show that it's ~F that's the problem, use this expression:
\d[^.,;]+
It matches in the main text and in the footnote, as expected.

Hi,
Thanks for reporting the issue
We are looking into it
-InDesign Team
4 comments
-
Peter Kahrel commented
The inclusion of ~F in a character class invalidates grep expressions in endnotes.
InDesign version: 14.0.2.324 (with the GREP fix installed)
Steps to reproduce:
1. Create a document, add some text and add a an endnote.
2. Make sure to add a digit followed by any characters and a dot or comma in both the text and the endnote. (I would post a file if this forum accepted them, but it doesn't.)
3. In the GREP tab of the Find/What window, enter the following GREP expression:\d[^.,;~F]+
And target the document. The expression matches from a digit up to the next period, comma, semicolon, or footnote marker.
Expected result: The expression should match some text in the main text and in the endnote.
Actual Result: The expression does not match anything in the endnote.To show that it's ~F that's the problem, use this expression:
\d[^.,;]+
It matches in the main text and in the footnote, as expected.
\d[^.,;~F]+
And target the document. The expression matches from a digit up to the next period, comma, semicolon, or footnote marker.
Expected result: The expression should match some text in the main text and in the endnote.
Actual Result: The expression does not match anything in the endnote.To show that it's ~F that's the problem, use this expression:
\d[^.,;]+
It matches in the main text and in the footnote, as expected.
-
Peter Kahrel commented
The inclusion of ~F in a character class invalidates grep expressions in endnotes.
InDesign version: 14.0.2.324 (with the GREP fix installed)
Steps to reproduce:
1. Open the attached document (named .jpg because this forum doesn't accept indd files). It contains a single page with text and an endnote.
2. In the GREP tab of the Find/What window, enter the following GREP expression:\d[^.,;~F]+
And target the document. The expression matches from a digit up to the next period, comma, semicolon, or footnote marker.
Expected result: The expression should match some text in the main text and in the endnote.
Actual Result: The expression does not match anything in the endnote.To show that it's ~F that's the problem, use this expression:
\d[^.,;]+
It matches in the main text and in the footnote, as expected.
-
Peter Kahrel commented
The inclusion of ~F in a character class invalidates grep expressions in endnotes.
InDesign version: 14.0.2.324 (with the GREP fix installed)
Steps to reproduce:
1. Open the attached document (named .jpg because this forum doesn't accept indd files). It contains a single page with text and an endnote.
2. In the GREP tab of the Find/What window, enter the following GREP expression:\d[^.,;~F]+
And target the document. The expression matches from a digit up to the next period, comma, semicolon, or footnote marker.
Expected result: The expression should match some text in the main text and in the endnote.
Actual Result: The expression does not match anything in the endnote.To show that it's ~F that's the problem, use this expression:
\d[^.,;]+
It matches in the main text and in the footnote, as expected.
-
Peter Kahrel commented
The inclusion of ~F in a character class invalidates grep expressions in endnotes.
InDesign version: 14.0.2.324 (with the GREP fix installed)
Steps to reproduce:
1. Open the attached document (named .ixx because this forum doesn't accept indd files). It contains a single page with text and an endnote.
2. In the GREP tab of the Find/What window, enter the following GREP expression:\d[^.,;~F]+
And target the document. The expression matches from a digit up to the next period, comma, semicolon, or footnote marker.
Expected result: The expression should match some text in the main text and in the endnote.
Actual Result: The expression does not match anything in the endnote.To show that it's ~F that's the problem, use this expression:
\d[^.,;]+
It matches in the main text and in the footnote, as expected.