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