REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::parser::shorthand_spec Struct Reference

The classification of a \d \D \w \W \s \S shorthand: its ASCII bitmap, its Unicode range table, and whether it is the negated (uppercase) form. More...

Collaboration diagram for real::detail::parser::shorthand_spec:
[legend]

Public Attributes

char_class set
 The ASCII bitmap (digit / word / space set).
 
std::span< const code_rangeranges
 The full Unicode range table (used in text mode).
 
bool negated
 True for the uppercase form (\D \W \S).
 

Detailed Description

The classification of a \d \D \w \W \s \S shorthand: its ASCII bitmap, its Unicode range table, and whether it is the negated (uppercase) form.

Definition at line 507 of file ast.hpp.

Member Data Documentation

◆ negated

bool real::detail::parser::shorthand_spec::negated

True for the uppercase form (\D \W \S).

Definition at line 511 of file ast.hpp.

◆ ranges

std::span<const code_range> real::detail::parser::shorthand_spec::ranges

The full Unicode range table (used in text mode).

Definition at line 510 of file ast.hpp.

◆ set

char_class real::detail::parser::shorthand_spec::set

The ASCII bitmap (digit / word / space set).

Definition at line 509 of file ast.hpp.


The documentation for this struct was generated from the following file: