Mirror: The magical sticky regex-based parser generator 🧙
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix accidental section in README

-10
-10
README.md
··· 410 parser. We can now call our grammar using a tagged template literal themselves 411 to parse this. 412 413 - ```js 414 - import { interpolation } from 'reghex'; 415 - 416 - const anyNumber = interpolation((x) => typeof x === 'number'); 417 - 418 - const num = match('num')` 419 - ${/[+-]?/} ${anyNumber} 420 - `; 421 - ``` 422 - 423 **That's it! May the RegExp be ever in your favor.**
··· 410 parser. We can now call our grammar using a tagged template literal themselves 411 to parse this. 412 413 **That's it! May the RegExp be ever in your favor.**