create this outside of the forloop (as a constant?)

```js
var BUG_REGEX = /.../
```