Skip to content
Snippets Groups Projects
Commit 9f70807c authored by Michele Alberti's avatar Michele Alberti
Browse files

Precise the pyrat regexp for the result.

parent a429d3c6
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,8 @@ let re_version = Str.regexp "[0-9]\\(\\.[0-9]\\)*\\(\\.?[A-Za-z-+]\\)*" ...@@ -15,7 +15,8 @@ let re_version = Str.regexp "[0-9]\\(\\.[0-9]\\)*\\(\\.?[A-Za-z-+]\\)*"
let re_of_result result = let re_of_result result =
Str.regexp Str.regexp
(match result with ("^Result: " ^
match result with
| Solver.Result.Valid -> "True" | Solver.Result.Valid -> "True"
| Invalid -> "False" | Invalid -> "False"
| Timeout -> "Timeout" | Timeout -> "Timeout"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment