Searching for PIs that do not have a particular word in the comment
Posted: Thu Oct 01, 2020 2:28 am
How do I search for processing instructions that do not have a specified word in the PI comment="" ?
Suppose the word is future.
In the find dialog in oXygen, when I activate regex and Enable XML search options > PIs, the following regex (unfortunately) matches a PI that includes comment="future: purpose-action":
I believe I can be better at regex.
Suppose the word is future.
In the find dialog in oXygen, when I activate regex and Enable XML search options > PIs, the following regex (unfortunately) matches a PI that includes comment="future: purpose-action":
Code: Select all
(?!.*future).*