Package net.sf.jabref.search

Examples of net.sf.jabref.search.SearchExpressionParser


    m_regExp = regExp;

    // create AST
    AST ast = null;
    try {
      SearchExpressionParser parser = new SearchExpressionParser(
          new SearchExpressionLexer(new StringReader(
              m_searchExpression)));
      parser.caseSensitive = m_caseSensitive;
      parser.regex = m_regExp;
      parser.searchExpression();
      ast = parser.getAST();
    } catch (Exception e) {
      ast = null;
      // nothing to do; set m_ast to null -> regular plaintext search
    }
    m_ast = ast;
View Full Code Here

TOP

Related Classes of net.sf.jabref.search.SearchExpressionParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.