Luke
01/14/2022, 9:54 PMinfix fun <A : CharSequence> A?.shouldMatch(regex: String): A
infix fun <A : CharSequence> A?.shouldMatch(regex: Regex): A
Is there a reason for having only the negation for the String parameter?LeoColman
01/15/2022, 7:35 PMA?.shouldNotMatch(regex: String)
?Luke
01/17/2022, 2:16 PMfun <A : CharSequence> A?.shouldNotMatch(regex: String): A
, but not fun <A : CharSequence> A?.shouldNotMatch(regex: Regex): A
. On version 5.0.3 at leastLeoColman
01/17/2022, 6:18 PMLuke
01/17/2022, 7:58 PM