requestcontrol icon indicating copy to clipboard operation
requestcontrol copied to clipboard

[question] Is there a way to match a question-mark literally without using regexp?

Open rusty-snake opened this issue 3 years ago • 2 comments

Is there any way to match a question-mark literally without using regexp?

Example:

I want a exclude rule like ://example.com/foo/bar?frog_id=* where the ? is a ? and not any char. I could use /:\/\/example\.com\/foo\/bar\?frog_id=.*/, I know but come on this isn't readable. So is there a way to do something like ://example.com/foo/bar\?frog_id=* or ://example.com/foo/bar??frog_id=*?

rusty-snake avatar Aug 07 '21 08:08 rusty-snake

Maybe ¯\_(ツ)_/¯ try percent encoding ie.

%3F


https://en.m.wikipedia.org/wiki/Percent-encoding

ChiefMikeK avatar Aug 13 '21 13:08 ChiefMikeK

Unfortunately this does not work either.

rusty-snake avatar Aug 13 '21 15:08 rusty-snake