P.seq(a,b,c)// sequence of theseP.alt(a,b)// any of theseP.sepBy(a,P.string(','))// sequence of `a`, separated by ','P.sepBy1(a,P.string(','))// same, at least oncea.or(b)// like P.alt(a, b)a.skip(b)// parses `b` but discards ita.many()a.times(3)a.times(1,4)// 1 <= x <= 4a.atMost(10)a.atLeast(10)
Atoms
P.regexp(/[a-z]+/)P.string('hello')P.oneOf('abc')// like P.regexp(/[abc]/)P.whitespaceP.optWhitespaceP.eof
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.
Top comments (0)