source: icGREP/icgrep-devel/icgrep/re/exclude_CC.h @ 5782

Last change on this file since 5782 was 5778, checked in by cameron, 18 months ago

exclude_CC: initial check-in

File size: 619 bytes
Line 
1/*
2 *  Copyright (c) 2017 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 EXCLUDE_CC_H
8#define EXCLUDE_CC_H
9
10namespace re {
11    class RE;
12    class CC;
13   
14    /* Transform a regular expression r so that matched strings do not include
15       matches to any character within the given character class cc.
16       (However, do not transform assertions, so that lookahead or lookbehind
17        may still require matches to cc.  */
18    RE * exclude_CC(RE * r, CC * cc);
19}
20
21#endif // EXCLUDE_CC_H
Note: See TracBrowser for help on using the repository browser.