Skip to content

Commit

Permalink
fix don't and won't regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Esgrove committed Apr 10, 2024
1 parent b62ca01 commit 2fa98b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ lazy_static! {
// Fix spelling for "Can't"
(Regex::new(r"(?i)\bCant\b").unwrap(), "Can't"),
// Fix spelling for "Won't"
(Regex::new(r"(?i)\Wont\b").unwrap(), "Won't"),
(Regex::new(r"(?i)\bWont\b").unwrap(), "Won't"),
// Fix spelling for "Don't"
(Regex::new(r"(?i)\Dont\b").unwrap(), "Don't"),
(Regex::new(r"(?i)\bDont\b").unwrap(), "Don't"),
// Fix capitalization for "DJ"
(Regex::new(r"(?i)\bDj\b").unwrap(), "DJ"),
// Ensure one whitespace after "feat."
Expand Down

0 comments on commit 2fa98b3

Please sign in to comment.