How does the regex work? #439
Unanswered
shiny-ribbon
asked this question in
Q&A
Replies: 2 comments
-
Never mind, ended up finding a tapatalk thread where the person had the exact same problem. In the end I went from there.
It covers the reddit homepage, a few specific subpages, but only those, as well as discord for good measure |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, it's tricky, but that should do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I thought I knew a little bit of regex, but guess not.
I couldn't figure out how to make a regex to match a site homepage but not its subpages
I tried some variations of
https:\/\/reddit\.com
^https:\/\/www\.reddit\.com$
^(https:\/+(www\.)?reddit\.com)$
No luck
Beta Was this translation helpful? Give feedback.
All reactions