Formats nbsp

This commit is contained in:
Dandaedre 2026-05-05 18:19:34 +02:00
parent 2e81b6f1d2
commit 12d0128d97
1 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,10 @@ const SAMPLE_CONFIG: &str = r#"# Base config, loaded from .fmtconfig.tml
regex = "\\p{Pd}"
replacement = "-"
[[patterns]]
regex = "[\u2212]"
replacement = "-"
[[patterns]]
regex = "[\u2018\u2019\u201A\u201B\u02BC\u02BB\u00B4\uFF40\uFF07]"
replacement = "'"
@ -24,7 +28,7 @@ replacement = ""
[[patterns]]
regex = "[\\u202F]"
replacement = ""
replacement = " "
"#;
#[derive(Debug, Deserialize)]