error ♡Original post
Rank 2: Process
This is in regards to https://github.com/appwrite/console/pull/553
@Steven
Basically there are 2 problems:
- Unit tests are validating Incorrectly (Investiging it)
- A regex pattern to match the cron expression is incresingly complex, Instead i have broken it down and tested the regex of indiviidual parts of the cron, while combing it however there are edges cases that are popping up
Paths I can Take:
- I can continue on trying to debug this regex expression (need some help)
- A different route would be, us relying on this function instead of a single regex expresssion for client side validation, as far as my tests went this function is working correctly (not sure if this is a good idea, but it would work well)
Summary
The user is asking for help with a complex regex pattern used for validation. They are facing two problems: incorrect unit test validation and issues with combining individual parts of the regex pattern. They suggest either continuing to debug the regex expression or using a different function for client-side validation.