Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
expr: Add missing semicolon
  • Loading branch information
frendsick committed May 4, 2025
commit aedef2bb461d73d7ea9508b6b2479031b42a5f0f
2 changes: 1 addition & 1 deletion src/uu/expr/src/syntax_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl StringOp {
match curr {
// Carets are interpreted literally, unless used as character class negation "[^a]"
'^' if prev_is_escaped || !matches!(prev, '\\' | '[') => {
re_string.push_str(r"\^")
re_string.push_str(r"\^");
}
char => re_string.push(char),
}
Expand Down
Loading