kintesh / containerise

Firefox extension to automatically open websites in a container
MIT License
415 stars 53 forks source link

regex matching not working #181

Open abhineetgupta opened 1 year ago

abhineetgupta commented 1 year ago

Regex pattern matching does not seem to work. Using the same example as in the readme - @.+\.amazon\.co\.uk$, Shopping, and then opening amazon.co.uk in a new tab does not open the link in the Shopping container.

glob matching works fine, so adding !*.amazon.co.uk, Shopping works as expected.

Restarting the browser did not solve the issue.

Tried on Firefox 110.0 and 111.0.

abhineetgupta commented 1 year ago

After doing further testing, it appears that the error occurs because there is an extra $ at the end of the url in the readme which is not needed for regex. Only change needed is updating the readme. Created PR-182 to fix.