We have now ligatures for =~ and !~.
But I miss a ligature for ==~.
In Groovy for example =~ is the "find" operator, building a regex matcher with the regex on the right applied to the string on the left and the matcher's Groovy truth is whether the regex matches somewhere within the string.
And ==~ is the "matches" operator, that returns whether the whole string on the left completely matches the regex on the right.
We have now ligatures for
=~
and!~
. But I miss a ligature for==~
. In Groovy for example=~
is the "find" operator, building a regex matcher with the regex on the right applied to the string on the left and the matcher's Groovy truth is whether the regex matches somewhere within the string. And==~
is the "matches" operator, that returns whether the whole string on the left completely matches the regex on the right.