mirror of
https://github.com/huggingface/transformers.git
synced 2026-10-28 16:54:55 +08:00
* Keep a capturing group's escapes when reversing a conversion pattern process_target_pattern unescaped \. before extracting the capturing group, so the reversed rename's group matched any character in place of a dot. Unescape only outside the group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Place the escaping comment next to the unescape and rename the test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Say what the escaped-dots test expects Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * very very nit --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>