sl@0: /* sl@0: * sl@0: * Copyright (c) 1998-2002 sl@0: * John Maddock sl@0: * sl@0: * Use, modification and distribution are subject to the sl@0: * Boost Software License, Version 1.0. (See accompanying file sl@0: * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) sl@0: * sl@0: */ sl@0: sl@0: /* sl@0: * LOCATION: see http://www.boost.org for most recent version. sl@0: * FILE user.hpp sl@0: * VERSION see sl@0: * DESCRIPTION: User settable options. sl@0: */ sl@0: sl@0: // define if you want the regex library to use the C locale sl@0: // even on Win32: sl@0: // #define BOOST_REGEX_USE_C_LOCALE sl@0: sl@0: // define this is you want the regex library to use the C++ sl@0: // locale: sl@0: // #define BOOST_REGEX_USE_CPP_LOCALE sl@0: sl@0: // define this if the runtime library is a dll, and you sl@0: // want BOOST_REGEX_DYN_LINK to set up dll exports/imports sl@0: // with __declspec(dllexport)/__declspec(dllimport.) sl@0: // #define BOOST_REGEX_HAS_DLL_RUNTIME sl@0: sl@0: // define this if you want to dynamically link to regex, sl@0: // if the runtime library is also a dll (Probably Win32 specific, sl@0: // and has no effect unless BOOST_REGEX_HAS_DLL_RUNTIME is set): sl@0: // #define BOOST_REGEX_DYN_LINK sl@0: sl@0: // define this if you don't want the lib to automatically sl@0: // select its link libraries: sl@0: // #define BOOST_REGEX_NO_LIB sl@0: sl@0: // define this if templates with switch statements cause problems: sl@0: // #define BOOST_REGEX_NO_TEMPLATE_SWITCH_MERGE sl@0: sl@0: // define this to disable Win32 support when available: sl@0: // #define BOOST_REGEX_NO_W32 sl@0: sl@0: // define this if bool is not a real type: sl@0: // #define BOOST_REGEX_NO_BOOL sl@0: sl@0: // define this if no template instances are to be placed in sl@0: // the library rather than users object files: sl@0: // #define BOOST_REGEX_NO_EXTERNAL_TEMPLATES sl@0: sl@0: // define this if the forward declarations in regex_fwd.hpp sl@0: // cause more problems than they are worth: sl@0: // #define BOOST_REGEX_NO_FWD sl@0: sl@0: // define this if your compiler supports MS Windows structured sl@0: // exception handling. sl@0: // #define BOOST_REGEX_HAS_MS_STACK_GUARD sl@0: sl@0: // define this if you want to use the recursive algorithm sl@0: // even if BOOST_REGEX_HAS_MS_STACK_GUARD is not defined. sl@0: // #define BOOST_REGEX_RECURSIVE sl@0: sl@0: // define this if you want to use the non-recursive sl@0: // algorithm, even if the recursive version would be the default. sl@0: // #define BOOST_REGEX_NON_RECURSIVE sl@0: sl@0: // define this if you want to set the size of the memory blocks sl@0: // used by the non-recursive algorithm. sl@0: // #define BOOST_REGEX_BLOCKSIZE 4096 sl@0: sl@0: // define this if you want to set the maximum number of memory blocks sl@0: // used by the non-recursive algorithm. sl@0: // #define BOOST_REGEX_MAX_BLOCKS 1024 sl@0: sl@0: // define this if you want to set the maximum number of memory blocks sl@0: // cached by the non-recursive algorithm: Normally this is 16, but can be sl@0: // higher if you have multiple threads all using boost.regex, or lower sl@0: // if you don't want boost.regex to cache memory. sl@0: // #define BOOST_REGEX_MAX_CACHE_BLOCKS 16 sl@0: sl@0: // define this if you want to be able to access extended capture sl@0: // information in your sub_match's (caution this will slow things sl@0: // down quite a bit). sl@0: // #define BOOST_REGEX_MATCH_EXTRA sl@0: sl@0: // define this if you want to enable support for Unicode via ICU. sl@0: // #define BOOST_HAS_ICU