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

Support named capture groups in custom regexes #600

Open
n0Oo0Oo0b opened this issue Jul 19, 2024 · 0 comments
Open

Support named capture groups in custom regexes #600

n0Oo0Oo0b opened this issue Jul 19, 2024 · 0 comments

Comments

@n0Oo0Oo0b
Copy link

n0Oo0Oo0b commented Jul 19, 2024

Currently the only way (that I am aware of) to 'ignore' a field using a custom regex is to include an empty capture group. However, this means that if the field is filled in elsewhere, re-syncing cards will overwrite it with an empty string.

I think the best solution is to support named capture groups that correspond to each field. Fields that are left out won't be included in the HTTP request and thus won't be overwritten. This also removes the current field ordering limitations since the named groups can be in any order.

@n0Oo0Oo0b n0Oo0Oo0b changed the title Support named capture group in Support named capture groups in custom regexes Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant