scripts/regex, scripts/rainbows: revert gsub removal (HAHA OOPS)