| 1 | /* | 
|---|
| 2 |  * | 
|---|
| 3 |  * Copyright (c) 1998-2000 | 
|---|
| 4 |  * Dr John Maddock | 
|---|
| 5 |  * | 
|---|
| 6 |  * Use, modification and distribution are subject to the  | 
|---|
| 7 |  * Boost Software License, Version 1.0. (See accompanying file  | 
|---|
| 8 |  * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | 
|---|
| 9 |  * | 
|---|
| 10 |  */ | 
|---|
| 11 |   | 
|---|
| 12 |  /* | 
|---|
| 13 |   *   LOCATION:    see http://www.boost.org/libs/regex for documentation. | 
|---|
| 14 |   *   FILE         regex.h | 
|---|
| 15 |   *   VERSION      3.12 | 
|---|
| 16 |   *   DESCRIPTION: Declares POSIX API functions | 
|---|
| 17 |   */ | 
|---|
| 18 |  | 
|---|
| 19 | #ifndef BOOST_RE_REGEX_H | 
|---|
| 20 | #define BOOST_RE_REGEX_H | 
|---|
| 21 |  | 
|---|
| 22 | #include <boost/cregex.hpp> | 
|---|
| 23 |  | 
|---|
| 24 | /* | 
|---|
| 25 | *  add using declarations to bring POSIX API functions into | 
|---|
| 26 | * global scope, only if this is C++ (and not C). | 
|---|
| 27 | */ | 
|---|
| 28 | #ifdef __cplusplus | 
|---|
| 29 |  | 
|---|
| 30 | using boost::regoff_t; | 
|---|
| 31 | using boost::regex_tA; | 
|---|
| 32 | using boost::regmatch_t; | 
|---|
| 33 | using boost::REG_BASIC; | 
|---|
| 34 | using boost::REG_EXTENDED; | 
|---|
| 35 | using boost::REG_ICASE; | 
|---|
| 36 | using boost::REG_NOSUB; | 
|---|
| 37 | using boost::REG_NEWLINE; | 
|---|
| 38 | using boost::REG_NOSPEC; | 
|---|
| 39 | using boost::REG_PEND; | 
|---|
| 40 | using boost::REG_DUMP; | 
|---|
| 41 | using boost::REG_NOCOLLATE; | 
|---|
| 42 | using boost::REG_ESCAPE_IN_LISTS; | 
|---|
| 43 | using boost::REG_NEWLINE_ALT; | 
|---|
| 44 | using boost::REG_PERL; | 
|---|
| 45 | using boost::REG_AWK; | 
|---|
| 46 | using boost::REG_GREP; | 
|---|
| 47 | using boost::REG_EGREP; | 
|---|
| 48 | using boost::REG_ASSERT; | 
|---|
| 49 | using boost::REG_INVARG; | 
|---|
| 50 | using boost::REG_ATOI; | 
|---|
| 51 | using boost::REG_ITOA; | 
|---|
| 52 |  | 
|---|
| 53 | using boost::REG_NOTBOL; | 
|---|
| 54 | using boost::REG_NOTEOL; | 
|---|
| 55 | using boost::REG_STARTEND; | 
|---|
| 56 |  | 
|---|
| 57 | using boost::reg_comp_flags; | 
|---|
| 58 | using boost::reg_exec_flags; | 
|---|
| 59 | using boost::regcompA; | 
|---|
| 60 | using boost::regerrorA; | 
|---|
| 61 | using boost::regexecA; | 
|---|
| 62 | using boost::regfreeA; | 
|---|
| 63 |  | 
|---|
| 64 | #ifndef BOOST_NO_WREGEX | 
|---|
| 65 | using boost::regcompW; | 
|---|
| 66 | using boost::regerrorW; | 
|---|
| 67 | using boost::regexecW; | 
|---|
| 68 | using boost::regfreeW; | 
|---|
| 69 | using boost::regex_tW; | 
|---|
| 70 | #endif | 
|---|
| 71 |  | 
|---|
| 72 | using boost::REG_NOERROR; | 
|---|
| 73 | using boost::REG_NOMATCH; | 
|---|
| 74 | using boost::REG_BADPAT; | 
|---|
| 75 | using boost::REG_ECOLLATE; | 
|---|
| 76 | using boost::REG_ECTYPE; | 
|---|
| 77 | using boost::REG_EESCAPE; | 
|---|
| 78 | using boost::REG_ESUBREG; | 
|---|
| 79 | using boost::REG_EBRACK; | 
|---|
| 80 | using boost::REG_EPAREN; | 
|---|
| 81 | using boost::REG_EBRACE; | 
|---|
| 82 | using boost::REG_BADBR; | 
|---|
| 83 | using boost::REG_ERANGE; | 
|---|
| 84 | using boost::REG_ESPACE; | 
|---|
| 85 | using boost::REG_BADRPT; | 
|---|
| 86 | using boost::REG_EEND; | 
|---|
| 87 | using boost::REG_ESIZE; | 
|---|
| 88 | using boost::REG_ERPAREN; | 
|---|
| 89 | using boost::REG_EMPTY; | 
|---|
| 90 | using boost::REG_E_MEMORY; | 
|---|
| 91 | using boost::REG_E_UNKNOWN; | 
|---|
| 92 | using boost::reg_errcode_t; | 
|---|
| 93 |  | 
|---|
| 94 | #endif /* __cplusplus */ | 
|---|
| 95 |  | 
|---|
| 96 | #endif /* BOOST_RE_REGEX_H */ | 
|---|
| 97 |  | 
|---|
| 98 |  | 
|---|
| 99 |  | 
|---|
| 100 |  | 
|---|