Boost.URL
Report an Issue

Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Concepts
      • CharSet
      • Rule
      • StringToken
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
    • Help Card
Boost.URL default
  • Boost.URL
    • default
  • Boost.URL
  • pchars

pchars

The path character set

Synopsis

Declared in header <boost/url/rfc/pchars.hpp>

constexpr
const grammar::lut_chars pchars = unreserved_chars + sub_delim_chars + ':' + '@';

Description

Example

Character sets are used with rules and the functions grammar::find_if and grammar::find_if_not.

system::result< decode_view > rv = grammar::parse( "Program%20Files", pchars );

BNF

pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"

Specification

  • 3.3. Path (rfc3986)

This page was built using the Antora default UI.

The source code for this UI is licensed under the terms of the MPL-2.0 license.

https://github.com/cppalliance/site-docs