klyn.regex.MatchResult.operator==
method
public static operator==(left as MatchResult, right as MatchResult) as Boolean:
Description
Value equality with another match result.
import klyn.regex

assert MatchResult("42") == MatchResult("42")
Parameters
  • left First result.
  • right Second result.
Returns
True when both results store the same matched text. ``` import klyn.regex assert MatchResult("42") == MatchResult("42") ```