Skip to content

Fixed parsing of "+N" parameter.#90

Open
sptim wants to merge 1 commit into
aurora:masterfrom
sptim:master
Open

Fixed parsing of "+N" parameter.#90
sptim wants to merge 1 commit into
aurora:masterfrom
sptim:master

Conversation

@sptim

@sptim sptim commented Jun 28, 2026

Copy link
Copy Markdown

The pattern "+[0-9][0-9]*" does not match a '+' character followed by a number. Instead it matches a '+' character followed by 2 digits and any number of any character.
The correct pattern needs the shell option extglob to be activates and is "++([0-9])".

The pattern "+[0-9][0-9]*" does not match a '+' character followed by a
number. Instead it matches a '+' character followed by 2 digits and any
number of any character.
The correct pattern needs the shell option extglob to be activates and
is "\++([0-9])".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant