it slurps everything up. Peg.js just walks one character at a time and grabs everything in between one character at a time. The implementation looks kinda like:
```
var pos=0, input='this is the string we are matching';
while ( input.charAt[pos]) {
  // check we match stuff
  pos++;
}
```