4 ms·
I'd call return str == "abd" || str == "acd" _way_ more elegant and simple, to be honest. Because the actual code would look like return match("a(b|c
by ReleaseCandidat 5y ago
I'd call
return str == "abd" || str == "acd"
_way_ more elegant and simple, to be honest. Because the actual code would look like
return match("a(b|c)d", str)