On second thought, this is an internal function and there's no reason that startingSpecial needs to be optional. I've gone ahead and changed it to

```javascript
if (matchRanges || startingSpecial === 0)
```