◐ Shell
clean mode source ↗

expr: Fix handling of regex range quantifiers by frendsick · Pull Request #8010 · uutils/coreutils

added 6 commits

May 27, 2025 03:56
Normally, `\{` begins a range quantifier like `{n,m}`, but at the start of
an expression, there is no preceding item to apply the quantifier to.
The closing brace without related opening brace is handled literally

@frendsick

cakebaker

cakebaker

cakebaker

cakebaker

@frendsick

@frendsick

It is handled in `verify_range_quantifier` function.

@frendsick frendsick changed the title expr: Handle \{ literally at the start of a regex expression expr: Fix handling of regex range quantifiers

May 27, 2025

@frendsick

cakebaker

@frendsick

cakebaker

@frendsick frendsick deleted the fix/expr-regex-range-start-of-expression branch

June 6, 2025 10:13