diff --git a/tools/repo/fresh-repo.sh b/tools/repo/fresh-repo.sh index 066e40cd..22ad54be 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