Skip to content

Commit 1f8f2cb

Browse files
tstackttiimm
authored andcommitted
add %r to python placeholder regex
1 parent 9f5d877 commit 1f8f2cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ static CPP_PLACEHOLDER_REGEX: LazyLock<Regex> = LazyLock::new(|| {
629629
});
630630

631631
static 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]*[diuoxXfFeEgGaAcrspn%]"#).unwrap()
633633
});
634634

635635
static PATH_TO_NAME_REGEX: LazyLock<Regex> =

0 commit comments

Comments
 (0)