Batch Regex Fix for Mid-Import Syntax Breaks When migrations introduce blank lines within multi-line imports (e.g., instead of ), use a line-based sed/awk fixer instead of single-pass regex. First identify the pattern across all files with grep, then apply a simple line-aware regex that matches followed by a blank line, replacing with on the next non-blank line. Test parse afterward with or equivalent to verify all 995+ files are clean before committing. ---