Laravel-4-Generators icon indicating copy to clipboard operation
Laravel-4-Generators copied to clipboard

Accept spaces inside brackets - closes #282

Open PatrickRose opened this issue 11 years ago • 0 comments

This seemed to be easy to set up - though it's a roundabout method. Now, it also does (\D) - which matches all but a digit in a new key value pair. Then we loop through the matches and grab those single characters and put them in the right place.

As a note Jeffrey - the current test set up is a bit of a pain to work with. One of the shouldReturn failed in phpspec when I rewrote the regex but I couldn't tell which one. Could I suggest splitting them into other methods in case anyone else has similar issues?

PatrickRose avatar Mar 15 '14 23:03 PatrickRose