Closed rafael-bm closed 1 month ago
Hey @rafael-bm, if you're not already working on a PR for this, I'd be willing to get something going this week
Hey @rafael-bm, if you're not already working on a PR for this, I'd be willing to get something going this week
I unfortunately won't be able to work on a PR for this. Thank you for picking this bug. if u need me for testing i'm more than happy to help.
@rafael-bm No problem, I'm glad to help especially since I had the same issue while using the Validator within my own project. That would be awesome if you can test out the PR mentioned above. Let me know if you have any question or feedback.
@marshall7m my college @senemre will be checking out the branch and test it by today.
Hey @marshall7m we could run the unit tests which you added and especially the below case exactly covers our need.
assert validate({"val": "dcdcdc"}, {"val": "required|regex:(dc|ab)*"})
so it is LGTU(s)
Thanks
Bug Description: Given a regex with that validades string that should contain either
VALUEA
orVALUEB
Expected Behaviour: it should execute the regex
Code Fragment:
Error Fragment:
is there any other way to express an enum validation if not by regex ?
Anyone willing to contribute please review CONTRIBUTING.md for more details :100: