Skip to content

Commit

Permalink
Fix perft regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiaha committed Nov 25, 2024
1 parent 0f53130 commit 775d41b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/uci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,9 @@ static OPTION_RE: LazyLock<Regex> = LazyLock::new(|| {
static PERFT_RE: LazyLock<Regex> = LazyLock::new(|| {
Regex::new(
r"(?x)^
setoption\s+
name\s+(?P<name>.*?)\s+
value\s+(?P<value>.+)
perft\s+
(?P<depth>.*?)
$",
)
.expect("Failed to compile perft regex.")
.expect("Failed to compile perft regex.")
});

0 comments on commit 775d41b

Please sign in to comment.