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

Validate special symbols #290

Open
tajnymag opened this issue Mar 15, 2024 · 2 comments
Open

Validate special symbols #290

tajnymag opened this issue Mar 15, 2024 · 2 comments

Comments

@tajnymag
Copy link

tajnymag commented Mar 15, 2024

Is it possible to also validate special characters in fields?

Specifically, I'm trying to reject expressions using syntax for stepping like 1-59/3 * * * *, 2/9 * * * * *

Reason is, none of the cron matching libraries I've found support them properly, so I would like to should the user a warning if they input such expression.

@tajnymag tajnymag changed the title Validate / fields Validate special symbols Mar 15, 2024
@Airfooox
Copy link
Owner

Airfooox commented Apr 2, 2024

So you basically want the option to disable stepping as a valid expression so it raises an error?

I can take a look and change the option / configuration to include such an option.

@tajnymag
Copy link
Author

tajnymag commented Apr 2, 2024

Yes, basically exactly that.

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

2 participants