regex 0.1.80

An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Documentation
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)