klyn.regex.MatchResult.operator!=
method
public static operator!=(left as String, right as MatchResult) as Boolean:
Description
Value inequality with a string.
import klyn.regex

assert "xyz" != MatchResult("abc")
Parameters
  • left String to compare with.
  • right Match result.
Returns
True when the matched text differs from the given string. ``` import klyn.regex assert "xyz" != MatchResult("abc") ```