class

Luce::EmailAutoLinkSyntax

Inherits Luce::InlineSyntax < Reference < Object

Matches autolinks like <foo@bar.example.com>.

See https://spec.commonmark.org/0.30/#email-address.

Constructors

new

Instance methods

on_match(parser : InlineParser, match : Regex::MatchData) : Bool

Processes match, adding nodes to parser and possibly advancing parser.

Will return whether the caller should advance parser by match[0].size.