def _get_filter_modifier(self, field):
tokens = field.split(FIELD_SEPARATOR)<EOL>if len(tokens) == <NUM_LIT:1>:<EOL><INDENT>return field, "<STR_LIT>"<EOL><DEDENT>if tokens[-<NUM_LIT:1>] in self.FILTER_OPERATORS.keys():<EOL><INDENT>return u'<STR_LIT:.>'.join(tokens[:-<NUM_LIT:1>]), tokens[-<NUM_LIT:1>]<EOL><DEDENT>return u'<STR_LIT:.>'.join(tokens), "<STR_LIT>"<EOL>
Detect the filter modifier