Crate gfm_autolinks

Crate gfm_autolinks 

Source

Modules§

email
url
www

Functions§

check_prev
Test if a character is a valid preceding character for an autolink.
match_index
Match an autolink from an index in the string (invalid index returns None). Return the link and the number of chars to skip (from index). Note, this enforces the rule that autolinks can only come at the beginning of a line, after whitespace, or any of the delimiting characters *, _, ~, and (.
match_start
Match an autolink from the start of the string. Return the link and the number of chars to skip.