regex-fied domain · uBlockOrigin/uBlock-issues · Discussion #2234 (original) (raw)

I guess "negated" regex don't allow ,. #2234 (reply in thread)

example.*,~/example.([a-z]{1,2}|[a-z]{4,16})/##body > *

image

Workaround can be:

example.*##body > * /example.([a-z]{1,2}|[a-z]{4,16})/#@#body > *

by virtue of the fact that the parser does not have a noop state for cosmetic filters like other silinics.


and maybe |:

$all,doc,domain=example.*|/example.([a-z]{1,2}|[a-z]{4,16})/

image

Lack of workaround to avoid mark allowed to load and block latter with ,important modifier, I doubt that it can be used with ,bafilter, denyallow or to=.