public static operator==(left as String, right as MatchResult) as Boolean:
Value equality with a string.
| Parameter | Description |
|---|---|
left | String to compare with. |
right | Match result. |
True when the matched text equals the given string.
import klyn.regex
assert "abc" == MatchResult("abc")