RegExp Frustration

I've spent the past few hours trying to decipher RegExp (it's gibberish to me) - what I want to do is quite simple, yet searching the web yields zero results: I have the global dark 2018 style installed and want to prevent it from applying to https://*.mydomain.com and https://*.myotherdomain.com.

I know I can manually add each existing sub-domain to be excluded, but where I'm constantly poking around with new things to run it would be a pain in the butt to have to keep updating the list.

If anyone could point me in the right direction I'd be very grateful.

Comments

  • You may use Tampernonkey plus corresponding userscript.
    Here's my script on a similar topic; written years ago but still working
    https://userscripts-mirror.org/scripts/source/125995.user.js
  • the bottom line is that you can add/delete the current site to/from the blacklist with a couple of mouse clicks
  • Your second regex would work, but the first regex would give a false negative on, for example "Tim Berners-Lee". It'd need to account for non-space and non-alpha characters. – Todd Allen Dec 18 '14 at 22:02 visit the Showbox App Download Official Website
    @Todd You are right. I think this is fixed now, as I've edited my answer to replace [[:alpha:]] by [^[blank]]. Thank you for pointing that out! – Sylvain Leroux Dec 18 '14 at 22:16
    What a laugh 'Perl influenced Extensions'! They have one of the best db engines on the planet and still use POSIX.
Sign In or Register to comment.