If, in an expression, a value with a whitespace char is directly preceded by a special char "[" or "(", whitespace char in the value gets replaced with space.
This does not happen, if there is a space between "[" and a double quote in the expression.
For example, if we have a document with cat_s field containing a value "57\n157", following query works:
does not, as lower boundary value gets replaces with "57 157" in ExtendedDismaxQParser after following calls
As a workaround, we need to add a space before a double quote in expressions.