match operators by length, trimLeft on preprocessor directives