mirror of
https://github.com/janet-lang/janet
synced 2025-04-29 06:03:21 +00:00
Fix markup.
This commit is contained in:
parent
e3f902cb8a
commit
0dd867d508
@ -19,7 +19,7 @@ Janet's `peg` module borrows syntax and ideas from both LPeg and REBOL/Red parse
|
|||||||
|
|
||||||
Below is a simple example for checking if a string is a valid IP address. Notice how
|
Below is a simple example for checking if a string is a valid IP address. Notice how
|
||||||
the grammar is descriptive enough that you can read it even if you don't know the peg
|
the grammar is descriptive enough that you can read it even if you don't know the peg
|
||||||
syntax (example is translated from a (RED language blog post)[https://www.red-lang.org/2013/11/041-introducing-parse.html]).
|
syntax (example is translated from a [RED language blog post](https://www.red-lang.org/2013/11/041-introducing-parse.html).
|
||||||
```clojure
|
```clojure
|
||||||
(def ip-address
|
(def ip-address
|
||||||
'{:dig (range "09")
|
'{:dig (range "09")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user