Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed May 17, 2024
1 parent 25cc837 commit b1de7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ pub fn regex_and_dfa(
.build(&format!(r"^({})$", regex.regex_def.as_str()));
if re.is_err() {
return Err(CompilerError::GenericError(format!(
"Failed to build DFA for regex: "{}", please check your regex",
"Failed to build DFA for regex: \"{}\", please check your regex",
regex.regex_def
)));
}
Expand Down

0 comments on commit b1de7f8

Please sign in to comment.