Fixed leading whitespaces with '|' operator

The whitespace regex was also picking up any '|' operators that
were in front of the operator which caused the whole section ' |'
to be considered a whitespace.
Filters can be called on the root object now