Skip to content

Conversation

@kid1412621
Copy link
Contributor

correct error


Matches a sequence of zero or more instances of matches for the preceding regular expression, which must be an ordinary character, a special character preceded by , a ., a grouped regexp (see below), or a bracket expression. As a GNU extension, a postfixed regular expression can also be followed by ; for example, a* is equivalent to a*. POSIX 1003.1-2001 says that * stands for itself when it appears at the start of a regular expression or subexpression, but many nonGNU implementations do not support this and portable scripts should instead use * in these contexts.

ref: https://www.gnu.org/software/sed/manual/sed.html

correct error

------------
*
Matches a sequence of zero or more instances of matches for the preceding regular expression, which must be an ordinary character, a special character preceded by \, a ., a grouped regexp (see below), or a bracket expression. As a GNU extension, a postfixed regular expression can also be followed by *; for example, a** is equivalent to a*. POSIX 1003.1-2001 says that * stands for itself when it appears at the start of a regular expression or subexpression, but many nonGNU implementations do not support this and portable scripts should instead use \* in these contexts.

ref: https://www.gnu.org/software/sed/manual/sed.html
@jaywcjlove jaywcjlove merged commit 9632a3e into jaywcjlove:master Mar 29, 2019
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.

2 participants