Copy link to clipboard
Copied
I want to find a character that does not have an index marker behind it, is this possible with GREP? I tried this but it didn't work:
(?<!~I)a
Copy link to clipboard
Copied
Try escaping the tilde - with '\~'
it might be trying to find a literal tilde
so maybe \~I works better
Copy link to clipboard
Copied
Now that I've tried it - it's not working. No idea why.
Copy link to clipboard
Copied
I tried it but didn't work, and if I just search "(?=~I)" it finds indeks markers without escaping
Copy link to clipboard
Copied
What do you try to play?
(^/) The Jedi
Copy link to clipboard
Copied
I need to add a number of index entries, all of which start with a certain parenthesis. After adding most of them, I want to check if I missed any. Therefore, I'm using a negative lookbehind in grep to verify if there are any parentheses without an index marker preceding them.
Copy link to clipboard
Copied
Could you post a screenshot and tell us what "parenthesis" you talk about?
(^/)
Copy link to clipboard
Copied
sure, they are FD3F ornate right paranthesis
Copy link to clipboard
Copied
OK! for the sample I've used a simple parenthesis (change it for your use)
Create a condition and play these 2 simple regex:
1/ "Change All":
This will mark all the parentheses preceded by an Index Maker.
2/ Search one by one:
This will find all the parentheses that are not marked! Those you want to check!
Finally, trash the condition.
(^/)
Copy link to clipboard
Copied
Thanks, if we can't use index marker with negative lookbehind then this will have to do.
Thank you very much.