perl-regex 0.13.3

Regex parsing and validation helpers for Perl syntax
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct RegexValidationConfig {
    pub max_nesting: usize,
    pub max_unicode_properties: usize,
    pub max_branch_reset_branches: usize,
}

impl Default for RegexValidationConfig {
    fn default() -> Self {
        Self { max_nesting: 10, max_unicode_properties: 50, max_branch_reset_branches: 50 }
    }
}