Tutorials
Information
API Documentation
tag_match_suffix()
tag_match_prefix()
tag_match_full()
Check if a text matches a given suffix.
text (str) – The input text.
suffix (str) – The suffix to match.
True if the text matches the suffix, False otherwise.
bool
Check if a text matches a given prefix.
prefix (str) – The prefix to match.
True if the text matches the prefix, False otherwise.
Check if two texts match each other fully.
t1 (str) – The first text.
t2 (str) – The second text.
True if the texts match fully, False otherwise.