In Language/grammars.pod ws is defined at line 209 as one or more whitepace characters or a word boundary, i.e.
One other point that might be made clear is that a grammar that explicitly defines ws behaves a bit differently than one which uses the default definition. Using the default, ws gets thrown away. When ws is explicitly defined, whatever it parses gets put into the parse tree.
The text was updated successfully, but these errors were encountered:
Language/grammars in the middle of the section on
The sigspace section of Language/regexes first implies the same idea saying
and then shows, if you knew what you were looking for in the first place, that it is not talking about
which is correct but neither
In the stack overflow article moritz says the
moritz stackoverflow: https://stackoverflow.com/questions/47728466/perl-6-grammar-doesnt-match-like-i-think-it-should#comment82426178_47728653
I think it might be helpful for the
The idea that
say so "I used a Photoshop(photo shop)" ~~ m:i:s/ photo shop /;'
Or a stronger hint could be added to the second example by adding a '.' period at the end of the sentence:
say so "I used a photo shop." ~~ m:i:s/ photo shop /;
In the grammars
and the block of examples just below it might be moved to the top and again @moritz simplification of the
The two sections should also point to each other.
So I was confused about
Thanks to @AlexDaniel for his patience helping to explain some of this on IRC #perl6.