templates.RegexTemplateSchema
- class templates.RegexTemplateSchema(*args, **kwargs)
Regex template
- Parameters:
field (str) – Field
span_text_field (str, default SpanCols.SPAN_TEXT) – Span field
regex_pattern (str) – Regex pattern
case_sensitive (bool, default False) – Case sensitive or not
dot_matches_newline (bool, default False) – If True, make a dot . match any character at all, including a newline
start_end_match_line (bool, default 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, default True) – Strict location match or not