Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
b2gills
on Feb 11, 2019
|
parent
|
context
|
favorite
| on:
Show HN: Nevod is easier and faster than RegExp
Actually Perl6 does enforce it if you tell it to. The following fails to match.
'abc' ~~ m:ratchet/ .* c /
The `.*` gobbles everything up, which means there is nothing left for `c`
When writing grammars, use `token` which turns on `:ratchet` for you.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
When writing grammars, use `token` which turns on `:ratchet` for you.