Martii / greasemonkey

Greasemonkey is a user script manager for Firefox.
http://userscripts.org/users/marti
Other
7 stars 2 forks source link

GM HEAD: Need case insensitive flag for regular expression 'cludes #10

Closed Martii closed 13 years ago

Martii commented 13 years ago

Some sites randomize their casing on URIs which would cause GM to fail to inject a script. Both virtual server names as well as document paths.

It would be helpful to support some sort of /rex/i to address these situations.

Reference commit(s): 478b98d

Martii commented 13 years ago

Reported upstream greasemonkey#1380

Martii commented 13 years ago

Comment upstream

I'd also be interested to know what happens when an invalid Regular Expression is encountered (say an unterminated character class).

This also leads to @match portability... Are we going to add a very helpful feature just to the 'cludes and introduce the "stone age" pattern matching only with @match?
Martii commented 13 years ago

Closed by greasemonkey@b8c93f7