FYI, this is fine, but I frequently see people use backticks when doing escape characters in strings, e.g. `\s+`