Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
|) is not necessary.
Both include and exclude part can be empty, denoting that everything is included or nothing is excluded, respectively. When include part is empty, masks starts with pipe straight away.
synchronize both -preview -transfer=binary -filemask=""*.x; *.y|""