zenacy-html-2.0.2: A standard compliant HTML parsing library

Safe HaskellSafe
LanguageHaskell2010

Zenacy.HTML.Internal.Entity

Description

Matches and extracts entities from byte strings.

Synopsis

Documentation

entityMatch :: BS -> Maybe (BS, BS, BS) Source #

Searches for an entity match. Returns a tuple with the prefix, its value, and the remaining string.

entityTrie :: Trie BS Source #

A trie of the entity data with surrogates converted.

entityData :: [(BS, String)] Source #

The raw entity data.