Sieve icon indicating copy to clipboard operation
Sieve copied to clipboard

Whitespace trimmed for ISieveCustomFilterMethods

Open lukaepti opened this issue 4 years ago • 2 comments

Problem: Custom filter methods get called with values trimmed of spaces and tabs on either side

Expectation: The original value passed in, with white space characters intact

lukaepti avatar Mar 01 '21 13:03 lukaepti

I think a search pattern structure could be implemented to achieve something like google does: " text the text ". Or treat this as a bug and change the code and break existing consumers.

Either way, the questions are the same:

Does the risk of a braking change outways the benefit of the default trimming? Does the open possibilities to an encapsulator structure outway the benefit of the simple value approach?

hasanmanzak avatar May 14 '21 18:05 hasanmanzak

I see this issue is closed, but I still see this behaviour.

Is there are solution to this currently?

codequality44 avatar May 24 '23 12:05 codequality44