Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:29

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_SUB_DELIM_CHARS_HPP
0011 #define BOOST_URL_RFC_SUB_DELIM_CHARS_HPP
0012 
0013 #include <boost/url/detail/config.hpp>
0014 #include <boost/url/grammar/lut_chars.hpp>
0015 
0016 namespace boost {
0017 namespace urls {
0018 
0019 /** The sub-delims character set
0020 
0021     @par Example
0022     Character sets are used with rules and
0023     the functions @ref grammar::find_if and
0024     @ref grammar::find_if_not.
0025     @code
0026     system::result< decode_view > = grammar::parse( "Program%20Files", pct_encoded_rule( sub_delim_chars ) );
0027     @endcode
0028 
0029     @par BNF
0030     @code
0031     sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
0032                   / "*" / "+" / "," / ";" / "="
0033     @endcode
0034 
0035     @par Specification
0036     @li <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-2.2"
0037         >2.2. Reserved Characters (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
0046 grammar::lut_chars
0047 sub_delim_chars = "!$&()*+,;=\x27";
0048 
0049 } // urls
0050 } // boost
0051 
0052 #endif