]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/spotlight_rawquery_lexer.l
Add support for filetype search
[netatalk.git] / etc / afpd / spotlight_rawquery_lexer.l
index 81e02bcbb51e7a9dfcf7e8a8e7884e52c8e5d1d5..4ddac640efb2775db3fab3bab88acf2b5c00f642 100644 (file)
@@ -12,7 +12,7 @@ InRange                               return FUNC_INRANGE;
 \$time\.iso                           return DATE_ISO;
 false                                 {yylval.bval = false; return BOOL;}
 true                                  {yylval.bval = true; return BOOL;}
-[a-zA-Z0-9\*\:\-\.]+                  {yylval.sval = talloc_strdup(ssp_slq, yytext); return WORD;}
+[a-zA-Z0-9_\*\:\-\.]+                 {yylval.sval = talloc_strdup(ssp_slq, yytext); return WORD;}
 \"                                    return QUOTE;
 \(                                    return OBRACE;
 \)                                    return CBRACE;