You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow adding nickname delimiter patterns at runtime (#112)
parse_nicknames() looped over a hardcoded tuple of three named regexes,
so overriding an existing pattern in CONSTANTS.regexes and re-parsing
worked, but adding a brand new delimiter had no effect since nothing
iterated a variable set of patterns.
Constants now exposes nickname_delimiters, a named TupleManager of
delimiter patterns (seeded with the existing quoted_word/double_quotes/
parenthesis regexes) that parse_nicknames() iterates. Adding an entry
and calling parse_full_name() again picks it up.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments