klyn.regex.MatchResult.operator==
method
public static operator==(left as String, right as MatchResult) as Boolean:
Description

Value equality with a string.

Parameters
  • left String to compare with.
  • right Match result.
Returns

True when the matched text equals the given string. import klyn.regex assert "abc" == MatchResult("abc")