Gelbooru

Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #1293


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0001293Bug Reportingnormalalways10/01/23 08:33AM
ReporterXtraXtra
Assigned to:geltas
Resolution:Open
View StatusPublic
Version:Beta 0.2.5
Target Version:N/A
Summary:Some symbol tags have broken behaviour
Description:The tags ^^^ and symbol tags like ! ? ! !! !? !! ? have unexpected behaviour when used in the OR group {}

Additional Info:For ^^^, all search fails if it isn't used as the first item e.g:
{^^^ ~ sex} ---> ok
-{^^^ ~ sex} ---> ok
{sex ~ ^^^} ---> No results
-{sex ~ ^^^} ---> No results

For the tags starting with !, it has several behaviours:
1. When using ! as the last tag, search fails:
{! ~ sex ~ 1girl} -{sex ~ 1girl} ---> ok
{sex ~ ! ~ 1girl} -{sex ~ 1girl} ---> ok
{sex ~ 1girl ~ !} -{sex ~ 1girl} ---> No result. should have results
-{sex ~ 1girl ~ !} ---> No result. should have results

2. When using !! or !? as neither the middle or last tag, search fails:
{!! ~ sex ~ 1girl} -{sex ~ 1girl} --->OK
{!? ~ sex ~ 1girl} -{sex ~ 1girl} --->OK
{sex ~ 1girl ~ !!} -{sex ~ 1girl} ---> No result, expected !!
{sex ~ 1girl ~ !?} -{sex ~ 1girl} ---> No result, expected !?
{sex ~ !! ~ 1girl} -{sex ~ 1girl} ---> No result, expected !!
{sex ~ !? ~ 1girl} -{sex ~ 1girl} ---> No result, expected !?

3. When using a combination of ! !? !! ? in a negative OR search, they become ignored
-{sex ~ ! ~ !! ~ 1girl} -{sex ~ 1girl} ! --->Expected no results. Got !
-{sex ~ ! ~ !! ~ 1girl} -{sex ~ 1girl} !! --->Expected no results. Got !!
-{sex ~ ! ~ !? ~ 1girl} -{sex ~ 1girl} ! --->Expected no results. Got !
-{sex ~ ! ~ !? ~ 1girl} -{sex ~ 1girl} !? --->Expected no results. Got !?
-{sex ~ !! ~ !? ~ 1girl} -{sex ~ 1girl} !! --->Expected no results. Got !!
-{sex ~ !! ~ !? ~ 1girl} -{sex ~ 1girl} !? --->Expected no results. Got !?

This behaviour is also shared partially by ? and its combinations as well