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

Closed
Martii opened this Issue Jul 22, 2011 · 2 comments

Projects

None yet

2 participants

@Martii

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

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?

@arantius
Collaborator

Oops. Missed quotes around the i.

@arantius arantius closed this in b8c93f7 Jul 23, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment