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 <noreply@anthropic.com>
This commit is contained in:
parent
1a1995d148
commit
48a8243930
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue