Skip to content

Commit

Permalink
pitch_class: add missing flat symbol to regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ozankasikci committed Feb 5, 2020
1 parent 12983c2 commit e0f7832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/note/pitch_class.rs
Expand Up @@ -5,7 +5,7 @@ use std::fmt;
use strum_macros::EnumIter;

const REGEX_PITCH: &str = "^[ABCDEFGabcdefg]";
const REGEX_PITCH_ACCIDENTAL: &str = "^[ABCDEFGabcdefg][b♯#s]";
const REGEX_PITCH_ACCIDENTAL: &str = "^[ABCDEFGabcdefg][b♯#s]";

#[derive(Debug, Copy, Clone, PartialEq, EnumIter)]
pub enum PitchClass {
Expand Down

0 comments on commit e0f7832

Please sign in to comment.