diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-07-18 19:33:59 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-07-18 19:33:59 -0400 |
| commit | 2662d8ec7f2154c5e8cbf3a57d14b82692608d1c (patch) | |
| tree | bd13e493351f4d3376f04749904c6a94820a0307 /page.php | |
| parent | 3fd4b1dac83d0c5176e21a447ec6638e599d945a (diff) | |
| download | prosongsa-2662d8ec7f2154c5e8cbf3a57d14b82692608d1c.tar.gz | |
* Key parsing: Ability to parse {Key:D mixolydian}
Diffstat (limited to 'page.php')
| -rw-r--r-- | page.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/page.php b/page.php index f0dcc3d..85b657f 100644 --- a/page.php +++ b/page.php @@ -127,7 +127,7 @@ function load_song( $number, $transp = 0 ) } if ( preg_match( "/\{p?\d*\((.+m?)\)\}/", $line, $matches) - || preg_match("/^{Key: ?(.*)}/i", $line, $matches) + || preg_match("/^{Key: ?([^ ]*).*}/i", $line, $matches) ) { if ( isset( $suggestedSong[$current_song])) |
