Skip to content

WIP: adding regexp to url matching

Matthias De Bie requested to merge mattydebie/passit-frontend:urlRegexExpr into dev

I ran into the issue that no urls were 'matching' for the site I wanted to login to. So I thought of a fix and I was wondering if you would be interested in a solution like this. If so, please let me know and I'll work this out.

The problem I had was that I had an entry for domain.com. When surfing to sub.domain.com, I could not autofill. On top of that, the same password is needed for domain.io.

My proposed solution was to add regex support to the url entry. At the moment you can enter the following as url:

+r/(.+\.)?domain\.(com|io)

This would match all the subdomains of domain.com and domain.io.
+r/ is used to indicate that a regex should be used.

Merge request reports

Loading