diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-28 18:08:23 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-28 18:08:23 -0700 |
| commit | 90b8db84a48ca9ea1311abd202a546a4f697f4e6 (patch) | |
| tree | dd331880e943c11db8a7f388d0f5f509e30e154e /README.md | |
| parent | 699e7c8b9869fa9737a3c61ef9bcc599751fb88b (diff) | |
Moved */+ back to prefix, and dropped ?
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,8 +49,8 @@ Pattern | Meaning `2-4 pat` | Between 2 and 4 occurrences of `pat` (inclusive) `5+ pat` | 5 or more occurrences of `pat` `5+ pat % sep` | 5 or more occurrences of `pat`, separated by `sep` (e.g. `0+ int % ","` matches `1,2,3`) -`pat*` `pat* % sep`| 0 or more occurrences of `pat` (optionally separated by `sep`) -`pat+` `pat+ % sep`| 1 or more occurrences of `pat` (optionally separated by `sep`) +`*pat` | 0 or more occurrences of `pat` (shorthand for `0+pat`) +`+pat` | 1 or more occurrences of `pat` (shorthand for `1+pat`) `<pat` | `pat` matches just before the current position (backref) `>pat` | `pat` matches just in front of the current position (lookahead) `@pat` | Capture `pat` (used for text replacement and backreferences) |
