User Tools

Site Tools


journal:spring2019:bmather2:week7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
journal:spring2019:bmather2:week7 [2019/03/07 17:07]
bmather2
journal:spring2019:bmather2:week7 [2019/03/12 15:54]
bmather2
Line 2: Line 2:
 ---- ----
 ====March , 2019==== ====March , 2019====
 +
 +**__Regular Expressions__**\\
 +
 +__Basic Regular Expresions (regex)__\\
 +^    start of line\\
 +$    end of line\\
 +\?   match 0 or 1 of the previous\\
 +.    match any single symbol\\
 +*    match 0 or more of the previous //(prev char is part of this call)//\\
 +[]   match any one of the enclosed\\
 +[^ ] do not match any one of the enclosed\\
 +\<   match start of word\\
 +\>   match end of word\\
 +
 +tools that use these include:\\
 +vim, **grep**, sed, awk\\
 +
 +__Extended regex__\\
 ++     one or more of the previous\\
 +|     means '​or'​\\
 +()    goup\\
 +\( \) regex group\\
 +
 +tools that use these include:\\
 +vim, **egrep**, sed, awk\\
 +
 +
 +
 +
 +
 +
 +##################################################################################################​\\
 +
 +
 +**__NOTES FOR WPA0__**\\
 +
 chmod 755 for world readable and searchable\\ chmod 755 for world readable and searchable\\
 https://​lab46.g7n.org/​~bmather2/​adventure.html\\ https://​lab46.g7n.org/​~bmather2/​adventure.html\\
journal/spring2019/bmather2/week7.txt · Last modified: 2019/03/12 16:18 by bmather2