We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c27c7f commit 1e0f697Copy full SHA for 1e0f697
src/uu/expr/src/syntax_tree.rs
@@ -210,8 +210,8 @@ fn check_posix_regex_errors(pattern: &str) -> ExprResult<()> {
210
escaped_braces = escaped_braces
211
.checked_sub(1)
212
.ok_or(ExprError::UnmatchedClosingBrace)?;
213
- let mut repetition = repeating_pattern_text[..repeating_pattern_text.len() - 1]
214
- .splitn(2, ',');
+ let mut repetition =
+ repeating_pattern_text[..repeating_pattern_text.len() - 1].splitn(2, ',');
215
match (
216
repetition
217
.next()
0 commit comments