Add _is_strippable_prefix_char() to detect emojis, symbols, variation selectors, and whitespace using Unicode ranges and categories. Add strip_emoji_prefix() to strip matching leading chars. Update strip_duplicate_suffix() to apply prefix stripping in addition to the existing suffix cleanup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| archive | ||
| cut.py | ||
| cut_head.py | ||
| cut_tail.py | ||
| run_python_code_head.bat | ||
| run_python_code_strip.bat | ||
| run_python_code_tail.bat | ||
| run_python_code_zhconv.bat | ||
| strip_suffix.py | ||
| zhconv.py | ||