regex.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. * LOCATION: see http://www.boost.org/libs/regex for documentation.
  13. * FILE regex.h
  14. * VERSION 3.12
  15. * DESCRIPTION: Declares POSIX API functions
  16. */
  17. #ifndef BOOST_RE_REGEX_H
  18. #define BOOST_RE_REGEX_H
  19. #include <boost/cregex.hpp>
  20. /*
  21. * add using declarations to bring POSIX API functions into
  22. * global scope, only if this is C++ (and not C).
  23. */
  24. #ifdef __cplusplus
  25. using boost::regoff_t;
  26. using boost::regex_tA;
  27. using boost::regmatch_t;
  28. using boost::REG_BASIC;
  29. using boost::REG_EXTENDED;
  30. using boost::REG_ICASE;
  31. using boost::REG_NOSUB;
  32. using boost::REG_NEWLINE;
  33. using boost::REG_NOSPEC;
  34. using boost::REG_PEND;
  35. using boost::REG_DUMP;
  36. using boost::REG_NOCOLLATE;
  37. using boost::REG_ESCAPE_IN_LISTS;
  38. using boost::REG_NEWLINE_ALT;
  39. using boost::REG_PERL;
  40. using boost::REG_AWK;
  41. using boost::REG_GREP;
  42. using boost::REG_EGREP;
  43. using boost::REG_ASSERT;
  44. using boost::REG_INVARG;
  45. using boost::REG_ATOI;
  46. using boost::REG_ITOA;
  47. using boost::REG_NOTBOL;
  48. using boost::REG_NOTEOL;
  49. using boost::REG_STARTEND;
  50. using boost::reg_comp_flags;
  51. using boost::reg_exec_flags;
  52. using boost::regcompA;
  53. using boost::regerrorA;
  54. using boost::regexecA;
  55. using boost::regfreeA;
  56. #ifndef BOOST_NO_WREGEX
  57. using boost::regcompW;
  58. using boost::regerrorW;
  59. using boost::regexecW;
  60. using boost::regfreeW;
  61. using boost::regex_tW;
  62. #endif
  63. using boost::REG_NOERROR;
  64. using boost::REG_NOMATCH;
  65. using boost::REG_BADPAT;
  66. using boost::REG_ECOLLATE;
  67. using boost::REG_ECTYPE;
  68. using boost::REG_EESCAPE;
  69. using boost::REG_ESUBREG;
  70. using boost::REG_EBRACK;
  71. using boost::REG_EPAREN;
  72. using boost::REG_EBRACE;
  73. using boost::REG_BADBR;
  74. using boost::REG_ERANGE;
  75. using boost::REG_ESPACE;
  76. using boost::REG_BADRPT;
  77. using boost::REG_EEND;
  78. using boost::REG_ESIZE;
  79. using boost::REG_ERPAREN;
  80. using boost::REG_EMPTY;
  81. using boost::REG_E_MEMORY;
  82. using boost::REG_E_UNKNOWN;
  83. using boost::reg_errcode_t;
  84. #endif /* __cplusplus */
  85. #endif /* BOOST_RE_REGEX_H */