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

Validation of extensions #52

Open
ransome1 opened this issue Dec 23, 2023 · 0 comments
Open

Validation of extensions #52

ransome1 opened this issue Dec 23, 2023 · 0 comments

Comments

@ransome1
Copy link

Hi @jmhobbs .

Hope you're doing well. Happy Christmas to you and you family.

Here comes a last request for this year :) It would be good to have a way of validating if the value of an extension matches a rule set.

A good example would be recurrences, which are used in many todo.txt apps. A recurrence in sleek can look as simply as rec:d, but can also be rec:+2m. However it cannot be rec:1z, since recurrences in sleek are limited to d, b, w, m and y.

If one could define a regex for a specific extension, we could avoid jsTodoTxt detecting values, which don't make sense for specific use cases.

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