When testing for ){ in JS, first remove regexes from the line, since that's a valid place for them to be
When testing for ){ in JS, first remove regexes from the line, since that's a valid place for them to be

Robert-Frampton/check-source-formatting,Robert-Frampton/check-source-formatting,natecavanaugh/check-source-formatting,natecavanaugh/check-source-formatting,natecavanaugh/check-source-formatting