You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`The default grammar used for pegs. This grammar defines several common patterns
that should make it easier to write more complex patterns.`
~@{:d (range"09")
:a (range"az""AZ")
:s (set"\t\r\n\0\f\v")
:w (range"az""AZ""09")
:h (range"09""af""AF")
:S (if-not:s1)
:W (if-not:w1)
:A (if-not:a1)
:D (if-not:d1)
:H (if-not:h1)
:d+ (some:d)
:a+ (some:a)
:s+ (some:s)
:w+ (some:w)
:h+ (some:h)
:d* (any:d)
:a* (any:a)
:w* (any:w)
:s* (any:s)
:h* (any:h)})
I suspect that on some occasions some of us have missed :S+ or similar.
May be it makes sense to "complete" the set?
The text was updated successfully, but these errors were encountered:
sogaiu
changed the title
default-peg-grammar lacks * and + versions of :A, :D, :H, :S, and :Wdefault-peg-grammar lacks * and + versions of :A, :D, :H, :S, and :WOct 19, 2023
Unlike
:a
,:d
,:h
,:s
, and:w
, the "capitalized" versions (negations - e.g.:A
) indefault-peg-grammar
lack*
and+
versions:janet/src/boot/boot.janet
Lines 2333 to 2355 in cc5beda
I suspect that on some occasions some of us have missed
:S+
or similar.May be it makes sense to "complete" the set?
The text was updated successfully, but these errors were encountered: