This was not changed by you, but better use `line.test()` here (faster).
You can probably remove all parentheses inside the regexp (?)