[Greasemonkey] Control over metadata include/exclude regular expressions

Lenny Domnitser ldrhcp at gmail.com
Wed Dec 7 22:11:58 EST 2005


On 12/7/05, Bill Donnelly <donnelly at snowcrest.net> wrote:
> I added the requirement that TLD needs to be specified
> to be used by appending "\TLD" at the end of the regex.
> So it searches for "$\TLD", and then removes the "\TLD"
> and allows it to run through the TLD processing. This is
> only for complex-type regex's. Simple always check for TLD.

I like the idea of enabling magic with a flag, but I think this lends
itself to slashes even moreso. /my regex/iT would use "i" for case
insensitive as a regular regex flag, and the T would be parsed out to
mean apply TLD magic. If we can agree on this method and Aaron wants
to include something of this nature at all, I'll write the code.


More information about the Greasemonkey mailing list