From 9717c696d8bc9b8410dd7fff1d2afd7a78e28131 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Thu, 17 Nov 2022 10:16:29 +0100 Subject: [PATCH] add s for sharp (fixes notes example) --- packages/core/util.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/util.mjs b/packages/core/util.mjs index 7b8a72d1..f6b7d8b8 100644 --- a/packages/core/util.mjs +++ b/packages/core/util.mjs @@ -5,7 +5,7 @@ This program is free software: you can redistribute it and/or modify it under th */ // returns true if the given string is a note -export const isNote = (name) => /^[a-gA-G][#b]*[0-9]$/.test(name); +export const isNote = (name) => /^[a-gA-G][#bs]*[0-9]$/.test(name); export const tokenizeNote = (note) => { if (typeof note !== 'string') { return [];