AJFaraday / smiff_music

Social Media InterFace For Music - It's only a concept at this stage, the end-game is a situation where people can interact with a twitter account and music will result.
6 stars 1 forks source link

More permissive list structure #23

Closed AJFaraday closed 9 years ago

AJFaraday commented 9 years ago

The play commands for a list of steps for drums has to work like this...

play kick on steps 1, 4 and 6

But users may want to do this with just spaces, just commas or without the and

The play command for a list of notes is a lot more permissive in this way, and should form a pattern to handle this. It may also be a chance to get rid of the munge_list method.

step 1: Ensure all messages are tested (including new ones) step 2: change regexes to allow more permissive list structure step 3: check manually that various list structures work step 4: ensure test suite is (once again) passing

AJFaraday commented 9 years ago

This is less urgent than I thought, deferring as a 'nice to have'