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

Simplify Name Templates regexp with custom keywords or a convenience buttons for common use cases #351

Open
JoeZiminski opened this issue Mar 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JoeZiminski
Copy link
Member

Currently the Name Templates feature that allows definition of custom templates to validate against uses straight regexp syntax.

e.g. sub-\d\d\d_id-.?.?.?.?.?.?_date-.*

which is obviously pretty confusing.

Two options are

  1. to add in custom tags that are clearer. However it may be hard to tell intended text vs non-intended text (e.g. we use D for digit, but what is a D is actually in the name).
  2. Probably easier is in the TUI to have convenience buttons like 'Any Digit' that can be pressed to automatically fill in the template with \d. This makes it easy to make templates in the TUI as well as teach the regexp syntax.
@JoeZiminski JoeZiminski added the enhancement New feature or request label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant