fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
5.88k stars 181 forks source link

feat(rewrite-with-pipe): add `regex` action #578

Closed EltonLobo07 closed 3 months ago

fabian-hiller commented 3 months ago

I am sorry, but I may simplify the unit tests. I don't think it's necessary to test the native regex functionality since it's not controlled by our source code. I prefer to just test that the passed regex is used to validate the input. Let me know if you disagree.