Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Syntax #187

Open
jkozlow3 opened this issue Aug 14, 2023 · 4 comments
Open

Help with Syntax #187

jkozlow3 opened this issue Aug 14, 2023 · 4 comments

Comments

@jkozlow3
Copy link

jkozlow3 commented Aug 14, 2023

Hi there. I created 2 bookmarks to the same site (different logins for each person) and I added a hashtag to the URL of each bookmark followed by each person's name, thinking I could use Containerise to open each bookmark in a separate container. For example:

https://app.composer.trade/portfolio#vera
https://app.composer.trade/portfolio#jason

Am I able to use Containerise to open bookmark 1 in the "Vera" container and bookmark 2 in the "Jason" container? If so, can you please assist me with the correct syntax? Or is there a better approach vs. the hashtag in the bookmark URL?

Thanks!

@AlexVallat
Copy link

To match on a whole url like that it needs to be regex syntax, so start with an @, and add a \before any . (or other regex character like * or ? for example)

So you want:

@https://app\.composer\.trade/portfolio#jason , Jason
@https://app\.composer\.trade/portfolio#vera , Vera

@jkozlow3
Copy link
Author

To match on a whole url like that it needs to be regex syntax, so start with an @, and add a \before any . (or other regex character like * or ? for example)

So you want:

@https://app\.composer\.trade/portfolio#jason , Jason
@https://app\.composer\.trade/portfolio#vera , Vera

Thank you so much Alex...this worked perfectly! Now I can manage multiple accounts easily!

@tsbertalan
Copy link

What is the difference between !*.domain.com and *.domain.com?

@AlexVallat
Copy link

Basically, !*.domain.com works, and *.domain.com doesn't.

The ! prefix means use * patterns (ref), so without it just *.domain.com would match a theoretical domain that was literally https://*.domain.com, which I'm pretty sure can't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants