This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Runner for stand-alone Clojure scripts. | |
set -o errexit | |
set -o nounset | |
: "${JAVA_CMD:=java}" | |
: "${CLOJURE_VERSION:=1.8.0}" | |
: "${CLOJURE_JAR:=${HOME}/.m2/repository/org/clojure/clojure/${CLOJURE_VERSION}/clojure-${CLOJURE_VERSION}.jar}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Regular expressions and data from | |
http://lh3lh3.users.sourceforge.net/reb.shtml | |
Regular expressions benchmarked: | |
URI ([a-zA-Z][a-zA-Z0-9]*)://([^ /]+)(/[^ ]*)? | |
Email ([^ @]+)@([^ @]+) | |
Date ([0-9][0-9]?)/([0-9][0-9]?)/([0-9][0-9]([0-9][0-9])?) | |
URI|Email ([a-zA-Z][a-zA-Z0-9]*)://([^ /]+)(/[^ ]*)?|([^ @]+)@([^ @]+) | |
Word .*SCSI- |
OlderNewer