Alternation(pipe, either or)
A vertical bar in a pattern offering more than one way to fit. The branches are tried in the order written, so the first one that fits wins even when a later one is longer.
- See also: Backtracking
- Used in: Text Patterns
A vertical bar in a pattern offering more than one way to fit. The branches are tried in the order written, so the first one that fits wins even when a later one is longer.