Regex on Advanced search

On advanced search, there is the option of using regular expressions for matching Attachment content. However, there is no this option (at least, for Zotero 6) for, for example, Title or Creator or DOI.

Why don't you make regular expression general through all Advanced search? (where it makes sense, I mean, for categorized content as Attachment File Type or Collection it does not make sense)

Thanks
  • I'd like to see this too. I just had someone ask me how to search for titles that have the word "Thing" but not ones with "Things" (for example), and as far as I can see there's no easy way to do this reliably in Zotero 7 now. Regexes could make quick work of it.
  • @wdenton: Set Advanced Search to "Match all of the following" mode and add two conditions:

    1. Title | contains | Thing
    2. Title | does not contain | Things

    You could express the same thing as a regex, but it wouldn't be pretty.
  • That will certainly work well for simple cases, but the person I was talking to has some cases with words that can stand alone or be part of other words, where a word terminator would help, and I think some cases with prefixes where regexes would also do something complex in one go.
Sign In or Register to comment.