PATH:
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.2
/
src
/
cxx_supportlib
/
vendor-modified
/
boost
/
regex
/
v5
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. * FILE regex_match.hpp * VERSION see <boost/version.hpp> * DESCRIPTION: Regular expression matching algorithms. * Note this is an internal header file included * by regex.hpp, do not include on its own. */ #ifndef BOOST_REGEX_MATCH_HPP #define BOOST_REGEX_MATCH_HPP #include <boost/regex/v5/match_results.hpp> #include <boost/regex/v5/perl_matcher.hpp> namespace boost{ // // proc regex_match // returns true if the specified regular expression matches // the whole of the input. Fills in what matched in m. // BOOST_REGEX_MODULE_EXPORT template <class BidiIterator, class Allocator, class charT, class traits> bool regex_match(BidiIterator first, BidiIterator last, match_results<BidiIterator, Allocator>& m, const basic_regex<charT, traits>& e, match_flag_type flags = match_default) { BOOST_REGEX_DETAIL_NS::perl_matcher<BidiIterator, Allocator, traits> matcher(first, last, m, e, flags, first); return BOOST_REGEX_DETAIL_NS::factory_match(matcher); } BOOST_REGEX_MODULE_EXPORT template <class iterator, class charT, class traits> bool regex_match(iterator first, iterator last, const basic_regex<charT, traits>& e, match_flag_type flags = match_default) { match_results<iterator> m; return regex_match(first, last, m, e, flags | regex_constants::match_any); } // // query_match convenience interfaces: // BOOST_REGEX_MODULE_EXPORT template <class charT, class Allocator, class traits> inline bool regex_match(const charT* str, match_results<const charT*, Allocator>& m, const basic_regex<charT, traits>& e, match_flag_type flags = match_default) { return regex_match(str, str + traits::length(str), m, e, flags); } BOOST_REGEX_MODULE_EXPORT template <class ST, class SA, class Allocator, class charT, class traits> inline bool regex_match(const std::basic_string<charT, ST, SA>& s, match_results<typename std::basic_string<charT, ST, SA>::const_iterator, Allocator>& m, const basic_regex<charT, traits>& e, match_flag_type flags = match_default) { return regex_match(s.begin(), s.end(), m, e, flags); } BOOST_REGEX_MODULE_EXPORT template <class charT, class traits> inline bool regex_match(const charT* str, const basic_regex<charT, traits>& e, match_flag_type flags = match_default) { match_results<const charT*> m; return regex_match(str, str + traits::length(str), m, e, flags | regex_constants::match_any); } BOOST_REGEX_MODULE_EXPORT template <class ST, class SA, class charT, class traits> inline bool regex_match(const std::basic_string<charT, ST, SA>& s, const basic_regex<charT, traits>& e, match_flag_type flags = match_default) { typedef typename std::basic_string<charT, ST, SA>::const_iterator iterator; match_results<iterator> m; return regex_match(s.begin(), s.end(), m, e, flags | regex_constants::match_any); } } // namespace boost #endif // BOOST_REGEX_MATCH_HPP
[-] match_flags.hpp
[edit]
[-] match_results.hpp
[edit]
[-] syntax_type.hpp
[edit]
[-] regex_match.hpp
[edit]
[-] cpp_regex_traits.hpp
[edit]
[-] iterator_category.hpp
[edit]
[-] error_type.hpp
[edit]
[-] perl_matcher_non_recursive.hpp
[edit]
[-] icu.hpp
[edit]
[-] regex_merge.hpp
[edit]
[-] unicode_iterator.hpp
[edit]
[-] regex_split.hpp
[edit]
[-] regex_grep.hpp
[edit]
[-] pattern_except.hpp
[edit]
[-] u32regex_token_iterator.hpp
[edit]
[-] regex_fwd.hpp
[edit]
[-] basic_regex.hpp
[edit]
[-] perl_matcher.hpp
[edit]
[-] perl_matcher_common.hpp
[edit]
[-] mem_block_cache.hpp
[edit]
[-] regex_iterator.hpp
[edit]
[+]
..
[-] basic_regex_creator.hpp
[edit]
[-] regex_traits_defaults.hpp
[edit]
[-] char_regex_traits.hpp
[edit]
[-] object_cache.hpp
[edit]
[-] regex_search.hpp
[edit]
[-] sub_match.hpp
[edit]
[-] regex_format.hpp
[edit]
[-] c_regex_traits.hpp
[edit]
[-] iterator_traits.hpp
[edit]
[-] regex_replace.hpp
[edit]
[-] regex_raw_buffer.hpp
[edit]
[-] basic_regex_parser.hpp
[edit]
[-] regbase.hpp
[edit]
[-] regex_traits.hpp
[edit]
[-] regex.hpp
[edit]
[-] regex_workaround.hpp
[edit]
[-] regex_token_iterator.hpp
[edit]
[-] states.hpp
[edit]
[-] primary_transform.hpp
[edit]
[-] w32_regex_traits.hpp
[edit]
[-] cregex.hpp
[edit]
[-] u32regex_iterator.hpp
[edit]