Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 28, 2024
1 parent 5530332 commit c771725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl/people_db/lookup_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def find_just_name(text: str) -> str:

# Next up is full names followed by a comma
match_titles = re.search(
#adding 'r' prefix to address python 3.12 strickness around escape sequences in string literals
# adding 'r' prefix to address python 3.12 strickness around escape sequences in string literals
r"(((Van|VAN|De|DE|Da|DA)\s)?[A-Z][\w\-'']{2,}(\s(IV|I|II|III|V|Jr\.|JR\.|Sr\.|SR\.))?),",
cleaned_text,
)
Expand Down

0 comments on commit c771725

Please sign in to comment.