forked from cheat/cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- closes cheat#65
- Loading branch information
EmilySeville7cfg
authored and
EmilySeville7cfg
committed
Dec 5, 2022
1 parent
8eef132
commit f53647e
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
tags: [ patterns ] | ||
--- | ||
|
||
<char|pattern>? match 0..1 characters or patterns (`?` must be escaped in sed BRE) | ||
<char|pattern>* match 0..more characters or patterns | ||
<char|pattern>+ match 1..more characters or patterns (`+` must be escaped in sed BRE) | ||
|
||
<char|pattern>{<count>} match `count` characters or patterns (`{` and `}` must be escaped in sed BRE) | ||
<char|pattern>{<from..to>} match `from`..`to` characters or patterns (`{` and `}` must be escaped in sed BRE) | ||
|
||
^<pattern> match the beggining of a string | ||
<pattern>$ match the end of a string |