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

Add Key Pattern-specific Regular Expressions #457

Closed
jkulesza opened this issue Dec 3, 2015 · 2 comments
Closed

Add Key Pattern-specific Regular Expressions #457

jkulesza opened this issue Dec 3, 2015 · 2 comments

Comments

@jkulesza
Copy link

jkulesza commented Dec 3, 2015

My request is to incorporate regular expressions into the key pattern dialog to modify the key patterns. It looks like this may have been done previously when Plugins were available. This would effectively extend the :(x) functionality there which only matches on null fields.

For example, I hope that the following would be a valid "Book" key pattern:

Book_[keywords]_[year]_[authors1]_[title:regex(" ","-")]

which would replace all spaces in the title by dashes.

@jkulesza jkulesza changed the title [Feature Request]: Add Key Pattern-specific Regular Expressions Add Key Pattern-specific Regular Expressions [enhancement] Dec 3, 2015
@jkulesza jkulesza changed the title Add Key Pattern-specific Regular Expressions [enhancement] [Enhancement Request]: Add Key Pattern-specific Regular Expressions Dec 3, 2015
@lenhard lenhard changed the title [Enhancement Request]: Add Key Pattern-specific Regular Expressions Add Key Pattern-specific Regular Expressions Dec 3, 2015
@lenhard
Copy link
Member

lenhard commented Dec 3, 2015

@jkulesza Thanks for this suggestion. You are welcome to provide a pull request.

@tobiasdiez
Copy link
Member

This was implemented with #3096.
Could you please check the build from http://builds.jabref.org/master/. Thanks!

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

4 participants