|
||||
File indexing completed on 2025-01-18 09:53:28
0001 // 0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) 0003 // 0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 // Official repository: https://github.com/boostorg/url 0008 // 0009 0010 #ifndef BOOST_URL_RFC_PCHARS_HPP 0011 #define BOOST_URL_RFC_PCHARS_HPP 0012 0013 #include <boost/url/detail/config.hpp> 0014 #include <boost/url/rfc/sub_delim_chars.hpp> 0015 #include <boost/url/rfc/unreserved_chars.hpp> 0016 0017 namespace boost { 0018 namespace urls { 0019 0020 /** The path character set 0021 0022 @par Example 0023 Character sets are used with rules and 0024 the functions @ref grammar::find_if and 0025 @ref grammar::find_if_not. 0026 @code 0027 system::result< decode_view > rv = grammar::parse( "Program%20Files", pchars ); 0028 @endcode 0029 0030 @par BNF 0031 @code 0032 pchar = unreserved / pct-encoded / sub-delims / ":" / "@" 0033 @endcode 0034 0035 @par Specification 0036 @li <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-3.3" 0037 >3.3. Path (rfc3986)</a> 0038 0039 @see 0040 @ref grammar::find_if, 0041 @ref grammar::find_if_not, 0042 @ref grammar::parse, 0043 @ref pct_encoded_rule. 0044 */ 0045 constexpr auto pchars = 0046 unreserved_chars + sub_delim_chars + ':' + '@'; 0047 0048 } // urls 0049 } // boost 0050 0051 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |