REGEX search doesn't cover all references
Posted: Wed Feb 17, 2021 2:29 am
Hi
I have 3660 references in "All"
I annotate them with "exclude" as the first word in the keywords field if they are not relevant to my current project
This search:
keywords REGEX '\Aexcluded' OR NOT keywords REGEX '\Aexcluded'
returns 3545 references (so 115 are not being captured). So I clearly don't understand something about how the search works. I thought that pair of regex queries would necessarily cover all records. Either 'excluded' starts ('\A') the keyword field, or it doesn't.
Help gratefully received
Cheers
I have 3660 references in "All"
I annotate them with "exclude" as the first word in the keywords field if they are not relevant to my current project
This search:
keywords REGEX '\Aexcluded' OR NOT keywords REGEX '\Aexcluded'
returns 3545 references (so 115 are not being captured). So I clearly don't understand something about how the search works. I thought that pair of regex queries would necessarily cover all records. Either 'excluded' starts ('\A') the keyword field, or it doesn't.
Help gratefully received
Cheers