templates.RegexTemplateSchema
- class templates.RegexTemplateSchema(*args, **kwargs)
Regex template
Parameters
Parameters
Name Type Default Info field str
Field. span_text_field str
SpanCols.SPAN_TEXT
Span field. regex_pattern str
Regex pattern. case_sensitive bool
False
Case sensitive or not. dot_matches_newline bool
False
If True, make a dot . match any character at all, including a newline. start_end_match_line bool
False
If True, the character ^ and $ match at the beginning of the string and at the end of the string, respectively. strict_location_match bool
True
Strict location match or not.