mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Update src/uu/expr/src/syntax_tree.rs
This commit is contained in:
parent
6701c6ef44
commit
8c27c7f3f2
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ fn check_posix_regex_errors(pattern: &str) -> ExprResult<()> {
|
||||||
.checked_sub(1)
|
.checked_sub(1)
|
||||||
.ok_or(ExprError::UnmatchedClosingBrace)?;
|
.ok_or(ExprError::UnmatchedClosingBrace)?;
|
||||||
let mut repetition = repeating_pattern_text[..repeating_pattern_text.len() - 1]
|
let mut repetition = repeating_pattern_text[..repeating_pattern_text.len() - 1]
|
||||||
.splitn(2, |x| x == ',');
|
.splitn(2, ',');
|
||||||
match (
|
match (
|
||||||
repetition
|
repetition
|
||||||
.next()
|
.next()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue