What does “|” do in a regular expression?
- Redirects input to the command
- Redirects output from the command
- Separates repetition modifiers
- Separates alternative patterns that can be matches
Please login or Register to submit your answer