\s
and \S
to to semantically equivalent forms, instead
of incorrectly parsing to :whitespace
/ :non-whitespace
:any
should not generate newlines (now also for cljs)[: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)\w \W \d \D \s \S
+ * ? {1,2}
lambdaisland.regal.normalize
for getting a canonicalized version of a regal form:whitespace
behave consistently across platformsjava.runtime.version
(GraalVM compat)&
inside a bracketed character class[:range from to]
, instead use [:class [from to]]
:whitespace
inside [:class ...]
or [:not ...]
will throw an
AssertionError, since we can't support it across platformsInitial version of Regal as presented at ClojureD. Not officially released.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close