Liking cljdoc? Tell your friends :D

0.0.76 (2020-07-17 / acb9496)

Added

  • [:char ...] for code point literal
  • [:ctrl ...] for control character literals
  • :line-break, :alert, :escape, :vertical-whitespace, :vertical-tab
  • [:(negative-)lookahead ... ] positve/negative lookahead
  • [:(negative-)lookbehind ...] positive/negative lookbehind
  • [:atomic ...] atomic groups (prevent backtracking)
  • Parsing of \w \W \d \D \s \S
  • Parsing of suffixed expressions + * ? {1,2}
  • lambdaisland.regal.normalize for getting a canonicalized version of a regal form

Fixed

  • Make :whitespace behave consistently across platforms
  • Drop the use of java.runtime.version (GraalVM compat)
  • Make instaparse grammar work on ClojureScript
  • Generator fixes
  • Correctly parse a single & inside a bracketed character class

Changed

  • Drop [:range from to], instead use [:class [from to]]
  • Using :whitespace inside [:class ...] or [:not ...] will throw an AssertionError, since we can't support it across platforms
  • The parser returns canonical forms, meaning single-character strings instead of characters

2020-02-28 (9a40397ba)

Initial version of Regal as presented at ClojureD.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close