Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for field not containing multiple possible strings #6271

Closed
amine-aboufirass opened this issue Apr 12, 2020 · 3 comments
Closed

Search for field not containing multiple possible strings #6271

amine-aboufirass opened this issue Apr 12, 2020 · 3 comments

Comments

@amine-aboufirass
Copy link

amine-aboufirass commented Apr 12, 2020

In the absence of group subtraction possibilities, I must resort to search queries like this:

groups contains "ContainsFunction" and not (groups contains "Earthquake")

Is it possible to have additional strings in the not clause? I tried the following without success:

groups contains "ContainsFunction" and not (groups contains "Earthquake", "Flood")

groups contains "ContainsFunction" and not (groups contains "Earthquake") and not (groups contains "Floods")

How can I get the intended result? Thanks.

@amine-aboufirass
Copy link
Author

I found one way, but it is quite verbose:

groups contains "ContainsFunction" and not (groups contains "Earthquake" or groups contains "Flood" or groups contains "Landslides" or groups contains "Rainfall" or groups contains "Wind")

Is there anything more concise?

@k3KAW8Pnf7mkmdSMPHz27
Copy link
Member

If you allow regexp,
Skärmavbild 2020-11-04 kl  16 16 08

does groups = ContainsFunction and not groups = Earthquake|Flood|Landslides|Rainfall|Wind work?

Note that space has a special meaning, to search for "Contains Function" use Contains.Function

@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2021

This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs.

As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:

  • If there has been a longer discussion, add a short summary of the most important points as a new comment (if not yet existing).
  • Provide further steps or information on how to reproduce this issue.
  • Upvote the initial post if you like to see it implemented soon. Votes are not the only metric that we use to determine the requests that are implemented, however, they do factor into our decision-making process.
  • If all information is provided and still up-to-date, then just add a short comment that the issue is still relevant.

Thank you for your contribution!

koppor pushed a commit that referenced this issue Oct 15, 2022
4eee79a Fix director not showing in MHRAs (#6271)
20c4b5e Update the-journal-of-pain.csl (#6202)
6ba269f Added missing book volume in short-title-note (#6262)
1a11c0f Update harvard-stellenbosch-university.csl (#6256)
6b598e7 Update karstenia.csl (#6242)
38bc5fe APA: Swap priority for periodical page and number (#6255)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 4eee79a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants