[][src]Crate parse_hyperlinks

Module for parsing hyperlinks in Markdown and RestructuredText.

Modules

parser

This module implement parser and iterator to extract all hyperlinks from a text input.

Functions

take_until_unbalanced

This parser is designed to work inside the nom::sequence::delimited parser, e.g.: nom::sequence::delimited(tag("("), take_until_unmatched('(', ')'), tag(")"))(i) It skips nested brackets until it finds an extra closing bracket. This function is very similar to nom::bytes::complete::take_until(")"), except it also takes nested brackets. Escaped brackets e.g. \( and \) are not considered as brackets and are taken by default.