Re: [svgwg] Subtleties of the path data grammar (#752)

Your methodology at does give solid ideas as to how to properly do that. I could just build overt regexes for all the commands. Though it's decidedly less simple and only would properly parse the arc command, since everything else merely consists of `letter + wsp + (number wsp)*`. It would however also succeed the test where you're required to stop reading the path because they put a `#` in the command. The only gain in compactness is literally in Arc where you can potentially save 2 characters.

-- 
GitHub Notification of comment by tatarize
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/752#issuecomment-561443811 using your GitHub account

Received on Wednesday, 4 December 2019 02:13:34 UTC