Skip to content
New issue

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

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

Already on GitHub? # to your account

Search bibtex field with exact match #66

Open
MengXiangxi opened this issue Apr 4, 2022 · 0 comments
Open

Search bibtex field with exact match #66

MengXiangxi opened this issue Apr 4, 2022 · 0 comments

Comments

@MengXiangxi
Copy link

Currently, the following method would return all entries with the specific field containing the search string.

<select class="bibtex_search bibtex_generate_{bibtex entry name}" search="{bibtex entry name}">
  <option value="">Search {bibtex entry name}</option>
</select>

However, it may cause problem if one item is a substring of another (like journal names Nature and Nature Communications). If searching for the substring (Nature), the entries containing the whole string (Nature Communications) would also be selected.

So, is there a way to use exact match here?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant