app.converter.regex_heuristics#

Module Contents#

Classes#

RegexCallback

RegexHeuristics

Regex heuristics class for applying modifying a line using regex lines.

class app.converter.regex_heuristics.RegexCallback#
callback: Callable[[re.Match], str]#
name: str#
class app.converter.regex_heuristics.RegexHeuristics(configurator)#

Regex heuristics class for applying modifying a line using regex lines.

_remove_pre_tag(match: re.Match) str#

Removes the pre tag from the match.

handle_regex_heuristics(line: str) str#

Manipulates a line by using regex heuristics.