source: icGREP/icgrep-devel/icgrep/re/re_parser_ere.h @ 5202

Last change on this file since 5202 was 5180, checked in by xwa163, 3 years ago

Support BRE and ERE for regex syntax.

File size: 644 bytes
Line 
1/*
2 *  Copyright (c) 2016 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef ICGREP_RE_PARSER_ERE_H
8#define ICGREP_RE_PARSER_ERE_H
9
10#include <re/re_parser.h>
11namespace re {
12    class RE_Parser_ERE : public RE_Parser  {
13    public:
14        RE_Parser_ERE(const std::string & regular_expression) : RE_Parser(regular_expression)  {
15
16        }
17
18    protected:
19        virtual bool isSetEscapeChar(char c) override;
20        virtual bool isUnsupportChartsetOperator(char c) override;
21    };
22}
23
24
25#endif //ICGREP_RE_PARSER_ERE_H
Note: See TracBrowser for help on using the repository browser.