Topic: [Feature] Adding parenthesis before and after two "~" tags to close them off to other "~" tags

Posted under Site Bug Reports & Feature Requests

Requested feature overview description.
The ability to close off two or more tags that use "~" as a modifier, so they only have an effect between themselves in the overall search.
Rule34.xxx's or statement is a great example, although limited to two. (This is a link to their cheatsheet, where you can find the example given, and use it in their site as well. { https://rule34.xxx/index.php?page=help&topic=cheatsheet })
Why would it be useful?
Although in theory simple, this would be a game-changer, removing the one-topic limit of these "~" that I face frequently. For Example, say I want to search up "~small_breasts ~big_breasts", this would work, showing me one or the other or both without fail. But what if on top of those, I want to narrow my search further by searching for posts also with exclusively big or huge penises? This would make my new theoretical search "~small_breasts ~big_breasts ~big_penis ~huge_penis". While this would affect my search, it did the opposite of what I wanted, including more results that all contain the minimum of one of the tags, instead of any two that I wanted minimum. However, if this feature were to be implemented, My search would instead look like "( ~small_breasts ~big_breasts ) ( ~big_penis ~huge_penis )"(or a variation of this, depending on implementation), and give the the desired search with either small or big breasts and a big or huge penis tag on all posts filtered through.
What part(s) of the site page(s) are affected?
posts, search

donovan_dmc said:
Add that to the mountain of feature requests related to more complex OR abilities

Sorry, I guess I should've looked/read more feature requests before posting this, My bad

Edit: Should I hide my forum post? I didn't know that ~ was so talked about, despite my attempts to search up ~ feature requests or mentions of it in general in the forums.

Updated

aeiouuoiea said:
Sorry, I guess I should've looked/read more feature requests before posting this, My bad

Edit: Should I hide my forum post? I didn't know that ~ was so talked about, despite my attempts to search up ~ feature requests or mentions of it in general in the forums.

See
https://e621.net/forum_topics/40732
https://github.com/e621ng/e621ng/pull/625

No, you don't need to hide the forum post. But yeah grouped ORs are pretty frequently requested that @Tarrgon made their own

Original page: https://e621.net/forum_topics/45756