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
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
      • Index
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card
Boost.URL default
  • Boost.URL
    • default
  • Boost.URL
  • boost::urls::grammar::digit_chars

boost::urls::grammar::digit_chars

The set of decimal digits

Synopsis

Declared in header <boost/url/grammar/digit_chars.hpp>

constexpr
implementation-defined digit_chars = {};

Description

Example

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

system::result< core::string_view > rv = parse( "2022", token_rule( digit_chars ) );

BNF

DIGIT       = %x30-39
            ; 0-9

Specification

  • B.1. Core Rules (rfc5234)

See Also

find_if , find_if_not , parse , token_rule .

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