Konform uses .match() internally for the pattern validation.
It would be nice if there was an option to choose which method would be used in the regex validation, for example being able to choose containsMatchIn() or find() instead of match().
This would make some specific usages of pattern a bit more efficient and easier to work with.
Konform uses
.match()
internally for thepattern
validation.It would be nice if there was an option to choose which method would be used in the regex validation, for example being able to choose
containsMatchIn()
orfind()
instead ofmatch()
. This would make some specific usages ofpattern
a bit more efficient and easier to work with.