File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -625,11 +625,11 @@ static JAVA_PLACEHOLDER_REGEX: LazyLock<Regex> =
625625 LazyLock :: new ( || Regex :: new ( r#"\{[^}]*}|\\\{([^}]*)}"# ) . unwrap ( ) ) ;
626626
627627static CPP_PLACEHOLDER_REGEX : LazyLock < Regex > = LazyLock :: new ( || {
628- Regex :: new ( r#"%[-+ #0]*\d* (?:\.\d+)?[hlLzjt]*[diuoxXfFeEgGaAcspn%]|\{(?:([a-zA-Z_][a-zA-Z0-9_.]*)|(\d+))?\s*(?::[^}]*)?}"# ) . unwrap ( )
628+ Regex :: new ( r#"%[-+ #0]*(?:\d+|\*)? (?:\.(?: \d+|\*) )?[hlLzjt]*[diuoxXfFeEgGaAcspn%]|\{(?:([a-zA-Z_][a-zA-Z0-9_.]*)|(\d+))?\s*(?::[^}]*)?}"# ) . unwrap ( )
629629} ) ;
630630
631631static PYTHON_PLACEHOLDER_REGEX : LazyLock < Regex > = LazyLock :: new ( || {
632- Regex :: new ( r#"%[-+ #0]*\d* (?:\.\d+)?[hlLzjt]*[diuoxXfFeEgGaAcspn%]"# ) . unwrap ( )
632+ Regex :: new ( r#"%[-+ #0]*(?:\d+|\*)? (?:\.(?: \d+|\*) )?[hlLzjt]*[diuoxXfFeEgGaAcspn%]"# ) . unwrap ( )
633633} ) ;
634634
635635static PATH_TO_NAME_REGEX : LazyLock < Regex > =
You can’t perform that action at this time.
0 commit comments