diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -16,16 +16,19 @@ Licensed under GNU GPLv3 or newer. The python code supports Python 3.9 and higher. The rust code is written for Rust edition 2021. ``` +# If you want to use Rust, compile it first +cargo build --release + # Match a string against a pattern (returns true or false) -python regexp.py match PATTERN STRING +python regular-expresso.py match PATTERN STRING # or -cargo run match PATTERN STRING +./target/release/regular-expresso match PATTERN STRING # Compare two regexps and return None of they are equivalent, or the shortest string that can distinguish them # That is, it gets accepted by one, but not the other python regexp.py compare PATTERN1 PATTERN2 # or -cargo run compare PATTERN1 PATTERN2 +./target/release/regular-expresso compare PATTERN1 PATTERN2 ``` ## Theory