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

The result of parse_property_table — the ranges, and whether a leading caret was stripped (\p{^L} == \P{L}, RE2/Perl). Callers XOR caret into their own negation so it composes with \P and [^...]. More...

Public Attributes

std::vector< code_range > ranges
 The property's ranges, never caret-adjusted.
 
bool caret
 True when a leading ^ (native dialects only) was stripped.
 

Detailed Description

The result of parse_property_table — the ranges, and whether a leading caret was stripped (\p{^L} == \P{L}, RE2/Perl). Callers XOR caret into their own negation so it composes with \P and [^...].


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