Skip to main content

ROOT_CAPTURE

Constant ROOT_CAPTURE 

Source
pub const ROOT_CAPTURE: &str = "__match";
Expand description

The capture name bound to the whole matched pattern, used for range extraction. Chosen to not collide with a user metavar (which are uppercase by convention and never start with __).