Compile Regal syntax to regex patterns.
(regex [:cat :start [:class [\a \z] [\A \Z] [\0 \9] _ -] "@" [:repeat [:class [\0 \9]] 3 5] [:* [:not .]] [:alt "com" "org" "net"] :end]) #"\A[a-zA-Z0-9_-]\Q@\E[0-9]{3,5}[^.]*(?:\Qcom\E|\Qorg\E|\Qnet\E)\z"
Compile Regal syntax to regex patterns. >>> (regex [:cat :start [:class [\a \z] [\A \Z] [\0 \9] \_ \-] "@" [:repeat [:class [\0 \9]] 3 5] [:* [:not \.]] [:alt "com" "org" "net"] :end]) #"\A[a-zA-Z0-9_-]\Q@\E[0-9]{3,5}[^.]*(?:\Qcom\E|\Qorg\E|\Qnet\E)\z"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close