Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <RegExpAlternate.h>
Static Public Member Functions | |
template<class SymbolType > | |
static regexp::FormalRegExp< SymbolType > | alternate (const regexp::FormalRegExp< SymbolType > &first, const regexp::FormalRegExp< SymbolType > &second) |
template<class SymbolType > | |
static regexp::FormalRegExpStructure< SymbolType > | alternate (const regexp::FormalRegExpStructure< SymbolType > &first, const regexp::FormalRegExpStructure< SymbolType > &second) |
template<class SymbolType > | |
static regexp::UnboundedRegExp< SymbolType > | alternate (const regexp::UnboundedRegExp< SymbolType > &first, const regexp::UnboundedRegExp< SymbolType > &second) |
template<class SymbolType > | |
static regexp::UnboundedRegExpStructure< SymbolType > | alternate (const regexp::UnboundedRegExpStructure< SymbolType > &first, const regexp::UnboundedRegExpStructure< SymbolType > &second) |
Implements alternation of two regular expressions.
|
static |
Implements alternation of two regular expressions.
SymbolType | the type of symbols in the regular expression |
first | the first regexp to alternate |
second | the second regexp to alternate |
first
+ second
|
static |
\override
|
static |
\override
|
static |
\override