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
journal:spring2019:bmather2:week7 [2019/03/12 14:24]
bmather2
journal:spring2019:bmather2:week7 [2019/03/12 16:18]
bmather2
Line 2: Line 2:
 ---- ----
 ====March , 2019==== ====March , 2019====
 +__//Example scripts here://__
 +/​var/​public/​spring2019/​unix/​examples
  
 +**__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\\
  
  
  
  
-################################################################################################​\\+ 
 + 
 +##################################################################################################​\\
  
  
journal/spring2019/bmather2/week7.txt · Last modified: 2019/03/12 16:18 by bmather2