From 48a824393023d995d0b893e3937717dc717f35f2 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Wed, 7 Oct 2026 19:39:04 +0000 Subject: [PATCH] fresh-repo.sh: the surname and full-name rules are case-insensitive (dry run 3 left lower-case surnames inside grep patterns and a regex on old branches) Co-Authored-By: Claude Fable 5.1 --- tools/repo/fresh-repo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/repo/fresh-repo.sh b/tools/repo/fresh-repo.sh index 066e40cde..22ad54be8 100755 --- a/tools/repo/fresh-repo.sh +++ b/tools/repo/fresh-repo.sh @@ -137,12 +137,12 @@ fi while IFS= read -r first; do [ -n "$first" ] || continue printf 'regex:\\b%s%ss\\b==>the project lead%ss\n' "$first" "'" "'" >> "$REPLACE" - while IFS= read -r last; do [ -n "$last" ] && printf 'regex:\\b%s\\s+%s\\b==>the project lead\n' "$first" "$last" >> "$REPLACE"; done <<< "$LAST_NAMES" + while IFS= read -r last; do [ -n "$last" ] && printf 'regex:(?i)\\b%s\\s+%s\\b==>the project lead\n' "$first" "$last" >> "$REPLACE"; done <<< "$LAST_NAMES" printf 'regex:\\b%s\\b==>the project lead\n' "$first" >> "$REPLACE" done <<< "$FIRST_NAMES" while IFS= read -r last; do [ -n "$last" ] || continue - printf 'regex:\\b%s\\b==>[removed]\n' "$last" >> "$REPLACE" + printf 'regex:(?i)\\b%s\\b==>[removed]\n' "$last" >> "$REPLACE" printf '\\b%s\\b\n' "$last" >> "$IDENT" done <<< "$LAST_NAMES" while IFS= read -r first; do