JanetDocs
Source
Playground
Tutorials
I'm Feeling lucky
Community
GitHub sign in
Run
Format
# Get all matches, similar to a global regular expression (peg/match '(any (+ (<- :a+) 1)) "Hello, world!") # => @["Hello" "world"] (peg/match '(any (+ (number :d) 1)) "1A2B3C4D5") # => @[1 2 3 4 5] (peg/match '(any (+ (<- :a+) 1)) "12345") # => @[]