Skip to content

Regular expression in search field and group delivers strange results #12163

@ytzemih

Description

@ytzemih

JabRef version

Latest development branch build (please note build date below)
I tried the build from 2024-11-05 23:12

Operating system

GNU / Linux

Details on version and operating system

Linux Mint/Debian 12

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Use, for example, a complex search expression "(title = a|b|c) or (keywords = d|e|f)", which works just fine for me under JR 5.15, either in the search field or as an expression in some search group.
  2. Make sure "regular expression" checkbox/feature is turned on.
  3. You get an empty result or at least a result that does not include entries expected to be included.
  4. (optional) When changing the search expression a few times (extend it, correct, etc.), the entry list slowly degrades: the filter seems to fail to update properly and empty entries appear. Scrolling makes everything worse.
    There are perhaps several issues at play. But my focus was on getting a search done. The migration back to the old (nice) search seems not to be a faithful migration. I discovered these issues after migrating the search expressions from 5.16 back to the old search. Thanks for checking this.

I have switched back to JR 5.15 and the back-migrated search expressions work pretty well again.

Appendix

...

Log File
Paste an excerpt of your log file here

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions