Replies: 1 comment
-
This indeed would be the only way how you could use regex here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to validate string like this:
group:__some_name__:eu-main
(alphanum
,:
,-
)which looks like good candidate for
regex
, and I didn't manage to find anything better thanRegisterValidation
.My question is: is it possible to come up with something simpler/better than this:
I saw this issue but it's still about
RegisterValidation
which leads to same idea and almost same implementation.Beta Was this translation helpful? Give feedback.
All reactions