regex 0.1.43

An implementation of regular expressions for Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -e

cargo build --example shootout-regex-dna
diff \
  ./examples/regexdna-output.txt \
  <(./target/debug/examples/shootout-regex-dna < ./examples/regexdna-input.txt)

cargo build --example shootout-regex-dna-single
diff \
  ./examples/regexdna-output.txt \
  <(./target/debug/examples/shootout-regex-dna-single < ./examples/regexdna-input.txt)

cargo build --example shootout-regex-dna-cheat
diff \
  ./examples/regexdna-output.txt \
  <(./target/debug/examples/shootout-regex-dna-cheat < ./examples/regexdna-input.txt)