public static operator==(left as MatchResult, right as MatchResult) as Boolean:
Value equality with another match result.
| Parameter | Description |
|---|---|
left | First result. |
right | Second result. |
True when both results store the same matched text.
import klyn.regex
assert MatchResult("42") == MatchResult("42")