Skip to main content
Version: 0.91

templates.RegexTemplateSchema

class templates.RegexTemplateSchema(*args, **kwargs)

Regex template

Parameters

NameTypeDefaultInfo
fieldstrField.
span_text_fieldstrSpanCols.SPAN_TEXTSpan field.
regex_patternstrRegex pattern.
case_sensitiveboolFalseCase sensitive or not.
dot_matches_newlineboolFalseIf True, make a dot . match any character at all, including a newline.
start_end_match_lineboolFalseIf True, the character ^ and $ match at the beginning of the string and at the end of the string, respectively.
strict_location_matchboolTrueStrict location match or not.