Page 1 of 1

Tome of Knowledge for prefix & regex

Posted: Sun Dec 13, 2015 3:41 am
by wxman1
Where do I find that laid out; I'm not getting how that's being implemented, e.g., ^https?://some\.site\.com/.*

I understand the first ? to be a single pattern-match char. The above would intimate there's some protocol beyond https. :?

Re: Tome of Knowledge for prefix & regex

Posted: Sun Dec 13, 2015 3:47 am
by barbaz
This tutorial should help you understanding regex.

Moving to Web Tech because this isn't specifically about NoScript.

Re: Tome of Knowledge for prefix & regex

Posted: Sun Dec 13, 2015 11:01 am
by wxman1
That's a fascinating perspective.

Qwexion:

the Firefox preference noscript.surrogate.popunder.sources has the value @^http:\/\/[\w\-\.]+\.[a-z]+ wyciwyg:

Can anybody tell me what that value means?

Or does this post get shoveled off to a different board; its not germane to where it is now.

:twisted:

Re: Tome of Knowledge for prefix & regex

Posted: Sun Dec 13, 2015 12:59 pm
by therube

Re: Tome of Knowledge for prefix & regex

Posted: Sun Dec 13, 2015 5:58 pm
by barbaz
wxman1 wrote:the Firefox preference noscript.surrogate.popunder.sources has the value @^http:\/\/[\w\-\.]+\.[a-z]+ wyciwyg:

Can anybody tell me what that value means?

The "@" means match script-allowed *pages* (see https://hackademix.net/2011/09/29/script-surrogates-quick-reference/), and the rest means match against that regex and wyciwyg: scheme (the space separation means it's two different patterns).

wxman1 wrote:Or does this post get shoveled off to a different board; its not germane to where it is now.

I don't know what you mean.. Image
Are you asking your post to be split to a new thread in a different forum?

Re: Tome of Knowledge for prefix & regex

Posted: Mon Dec 14, 2015 4:53 am
by wxman1
You don't know what I mean?

Really.

I've been very polite. You've done nothing but mess with me; it seems as if you don't want the people to know this or that. So, which is it?

I apologize for stepping afoul - not knowing - of those things that if you knew, you'd not even post it that way.

I'm sorry. That's my story; I'm stickin' to it.

:D

Re: Tome of Knowledge for prefix & regex

Posted: Mon Dec 14, 2015 5:32 am
by barbaz
wxman1 wrote:You've done nothing but mess with me; it seems as if you don't want the people to know this or that. So, which is it?

I apologize for stepping afoul - not knowing - of those things that if you knew, you'd not even post it that way.

I'm sorry. That's my story; I'm stickin' to it.

:D

Utter nonsense / drivel. Kindly don't post here when you're that "high". For the record, none of us are messing with you at all nor are we trying to hide information from you.

And I really don't know what you mean, and apparently I don't fully understand your question(s) here either. :|

Re: Tome of Knowledge for prefix & regex

Posted: Mon Dec 14, 2015 5:56 am
by Thrawn
wxman1 wrote:I've been very polite.

I'm sure barbaz was trying to respond very politely.

As you may or may not have noticed, he moved this thread to the Web Tech forum. That wasn't a criticism for asking the question, nor was it a refusal to answer; it was just good filing. We're quite happy to field off-topic questions; we just might move them to somewhere they can be on-topic.

Perhaps what bothered you was that barbaz replied by simply providing a link to a regex tutorial? If you feel that that was too abrupt, consider that the linked tutorial is actually a much longer and more comprehensive answer than we would be qualified to give ourselves.

As far as I can see, barbaz and therube adequately answered all your questions, particularly if you followed their links, so I don't see a cause for your complaint.