Created
November 30, 2022 17:05
-
-
Save s0md3v/b051e6e8f9f4a089dc443b686cc0bcd6 to your computer and use it in GitHub Desktop.
Revisions
-
s0md3v created this gist
Nov 30, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ b match b b+ is match bbbbbbbbbbbbbbbbbbbbbbbbb + is 1 or more matches [bd] is match b d [bd]+ is match bbbdddbbdbdbdbdbdbd, bbbbbddddddd, bbbbbbbbbb, dddddddddddd b* bbbbbbbbbbbbbbbbbbbbbbbbb * is 0 or more matches [^x] matches everything but x (ab+|bc+) will match both abbbbbbb and bccccccccccc, its a OR statement 0123456789 \d abcd....xyz a-z ABC------XYZ A-Z \s whitespaces like spaces, tabs \n for newlines . is for everything ? is for optional aaaaaaaaaaaa{10,35} aaaa{10,}