Added support of logical-and and logical-or to matchPattern syntax.