def compile_suffix_regex(entries):
expression = "<STR_LIT:|>".join([piece + "<STR_LIT:$>" for piece in entries if piece.strip()])<EOL>return re.compile(expression)<EOL>
Compile a sequence of suffix rules into a regex object.

    entries (tuple): The suffix rules, e.g. spacy.lang.punctuation.TOKENIZER_SUFFIXES.
    RETURNS (regex object): The regex object. to be used for Tokenizer.suffix_search.