| 1 | /* | 
|---|
| 2 |  * | 
|---|
| 3 |  * Copyright (c) 1998-2002 | 
|---|
| 4 |  * 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 for most recent version. | 
|---|
| 14 |   *   FILE         user.hpp | 
|---|
| 15 |   *   VERSION      see <boost/version.hpp> | 
|---|
| 16 |   *   DESCRIPTION: User settable options. | 
|---|
| 17 |   */ | 
|---|
| 18 |  | 
|---|
| 19 | // define if you want the regex library to use the C locale | 
|---|
| 20 | // even on Win32: | 
|---|
| 21 | // #define BOOST_REGEX_USE_C_LOCALE | 
|---|
| 22 |  | 
|---|
| 23 | // define this is you want the regex library to use the C++ | 
|---|
| 24 | // locale: | 
|---|
| 25 | // #define BOOST_REGEX_USE_CPP_LOCALE | 
|---|
| 26 |  | 
|---|
| 27 | // define this if the runtime library is a dll, and you | 
|---|
| 28 | // want BOOST_REGEX_DYN_LINK to set up dll exports/imports | 
|---|
| 29 | // with __declspec(dllexport)/__declspec(dllimport.) | 
|---|
| 30 | // #define BOOST_REGEX_HAS_DLL_RUNTIME | 
|---|
| 31 |  | 
|---|
| 32 | // define this if you want to dynamically link to regex, | 
|---|
| 33 | // if the runtime library is also a dll (Probably Win32 specific, | 
|---|
| 34 | // and has no effect unless BOOST_REGEX_HAS_DLL_RUNTIME is set): | 
|---|
| 35 | // #define BOOST_REGEX_DYN_LINK | 
|---|
| 36 |  | 
|---|
| 37 | // define this if you don't want the lib to automatically | 
|---|
| 38 | // select its link libraries: | 
|---|
| 39 | // #define BOOST_REGEX_NO_LIB | 
|---|
| 40 |  | 
|---|
| 41 | // define this if templates with switch statements cause problems: | 
|---|
| 42 | // #define BOOST_REGEX_NO_TEMPLATE_SWITCH_MERGE | 
|---|
| 43 |   | 
|---|
| 44 | // define this to disable Win32 support when available: | 
|---|
| 45 | // #define BOOST_REGEX_NO_W32 | 
|---|
| 46 |  | 
|---|
| 47 | // define this if bool is not a real type: | 
|---|
| 48 | // #define BOOST_REGEX_NO_BOOL | 
|---|
| 49 |  | 
|---|
| 50 | // define this if no template instances are to be placed in | 
|---|
| 51 | // the library rather than users object files: | 
|---|
| 52 | // #define BOOST_REGEX_NO_EXTERNAL_TEMPLATES | 
|---|
| 53 |  | 
|---|
| 54 | // define this if the forward declarations in regex_fwd.hpp | 
|---|
| 55 | // cause more problems than they are worth: | 
|---|
| 56 | // #define BOOST_REGEX_NO_FWD | 
|---|
| 57 |  | 
|---|
| 58 | // define this if your compiler supports MS Windows structured | 
|---|
| 59 | // exception handling. | 
|---|
| 60 | // #define BOOST_REGEX_HAS_MS_STACK_GUARD | 
|---|
| 61 |  | 
|---|
| 62 | // define this if you want to use the recursive algorithm | 
|---|
| 63 | // even if BOOST_REGEX_HAS_MS_STACK_GUARD is not defined. | 
|---|
| 64 | // #define BOOST_REGEX_RECURSIVE | 
|---|
| 65 |  | 
|---|
| 66 | // define this if you want to use the non-recursive | 
|---|
| 67 | // algorithm, even if the recursive version would be the default. | 
|---|
| 68 | // #define BOOST_REGEX_NON_RECURSIVE | 
|---|
| 69 |  | 
|---|
| 70 | // define this if you want to set the size of the memory blocks | 
|---|
| 71 | // used by the non-recursive algorithm. | 
|---|
| 72 | // #define BOOST_REGEX_BLOCKSIZE 4096 | 
|---|
| 73 |  | 
|---|
| 74 | // define this if you want to set the maximum number of memory blocks | 
|---|
| 75 | // used by the non-recursive algorithm. | 
|---|
| 76 | // #define BOOST_REGEX_MAX_BLOCKS 1024 | 
|---|
| 77 |  | 
|---|
| 78 | // define this if you want to set the maximum number of memory blocks | 
|---|
| 79 | // cached by the non-recursive algorithm: Normally this is 16, but can be  | 
|---|
| 80 | // higher if you have multiple threads all using boost.regex, or lower  | 
|---|
| 81 | // if you don't want boost.regex to cache memory. | 
|---|
| 82 | // #define BOOST_REGEX_MAX_CACHE_BLOCKS 16 | 
|---|
| 83 |  | 
|---|
| 84 | // define this if you want to be able to access extended capture | 
|---|
| 85 | // information in your sub_match's (caution this will slow things | 
|---|
| 86 | // down quite a bit). | 
|---|
| 87 | // #define BOOST_REGEX_MATCH_EXTRA | 
|---|
| 88 |  | 
|---|
| 89 | // define this if you want to enable support for Unicode via ICU. | 
|---|
| 90 | // #define BOOST_HAS_ICU | 
|---|