https://github.com/gorhill/uBlock/blob/2eec28520f540440c57e9d5a465d8a61054295ea/src/js/static-filtering-parser.js#L321 For example, looks like || and | may be allowed in front of a regex, and | may be allowed after a regex