The second condition will probably evaluate faster than the first condition, so the order should be reversed:

```
    if (line.match(/\S/) && !_matchExpressions(line, lineExp)) {
```