From d14e1a7b758a75d8c6a6888c8445c6d57b27154d Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Tue, 5 Mar 2013 12:38:19 +0100 Subject: [PATCH] Allow e-mails in search terms --- src/main/java/org/z3950/zing/cql/CQLLexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/z3950/zing/cql/CQLLexer.java b/src/main/java/org/z3950/zing/cql/CQLLexer.java index 5376f1d..293b45a 100644 --- a/src/main/java/org/z3950/zing/cql/CQLLexer.java +++ b/src/main/java/org/z3950/zing/cql/CQLLexer.java @@ -63,7 +63,7 @@ class CQLLexer extends StreamTokenizer { CQLLexer(Reader cql, boolean lexdebug) { super(cql); - wordChars('!', '?'); // ASCII-dependency! + wordChars('!', '@'); // ASCII-dependency! wordChars('[', '`'); // ASCII-dependency! quoteChar('"'); ordinaryChar('='); -- 1.7.10.4