FYI there is a `view.match_selector()` function that could make this line:
```py
if self.view.match_selector(region.begin(), "parameter.url, string.quoted.double, string.quoted.single"):
```
and would probably be more accurate (at least you don't have to escape dots which you, well, just didn't do here).

And if you prefer the regexp method, there is `re.search()` which makes the leading `.*` redundant.