chords2halftone.php
changeset 4 bb3789db954a
parent 0 16db14829751
--- a/chords2halftone.php	Tue Mar 27 18:48:23 2012 -0400
+++ b/chords2halftone.php	Tue May 08 01:38:29 2012 -0400
@@ -38,7 +38,7 @@
 			}
 			echo "\n[{$match[1]}]\n";
 		}
-		else if ( preg_match('/^(\s*([A-G][#b]?(?:m?7?|2|add9|sus4|[Mm]aj[79])?)(\/[A-G][#b]?)?\s*)*$/', $line) )
+		else if ( preg_match('/^(\s*([A-G][#b]?(?:[Mm]?7?|2|5|6|add9|sus4|[Mm]aj[79]|dim|aug)?)(\/[A-G][#b]?)?\s*)*$/', $line) )
 		{
 			if ( $chordline )
 			{