klyn.regex.MatchResult.MatchResult
constructor
public MatchResult(value as String):
Description
Creates a new match result from the matched text.
import klyn.regex

match = MatchResult("mail@example.com")
assert match.value == "mail@example.com"
Parameters
  • value Matched text. ``` import klyn.regex match = MatchResult("mail@example.com") assert match.value == "mail@example.com" ```