Closed BolajiOlajide closed 10 months ago
Kindly take a look @Marsup
Thanks for the PR. This feels like we should add an option (defaulting to false) to support this, otherwise I would consider it a breaking change. It would probably be more flexible anyway.
Thanks for the PR. This feels like we should add an option (defaulting to false) to support this, otherwise I would consider it a breaking change. It would probably be more flexible anyway.
Updated!
I'm going to do some changes before releasing it but it's already a good start, thanks a lot!
🙌
Closes #2386
This PR updates the regex for validating hexadecimal. This allows hexes with the
0x
prefix to be validated properly and those without to also pass validation provided they're valid hex strings.