Difference between revisions of "Everyday Regular Expressions"

From UCLUG
Jump to: navigation, search
(First draft)
 
(during the talk)
Line 10: Line 10:
 
*** grep
 
*** grep
 
** metacharacters
 
** metacharacters
 +
*** .
 
** begin/end of line
 
** begin/end of line
 +
*** ^$
 
** character classes
 
** character classes
 +
*** [dvlshjvkjdlsfhj]
 
*** ranges
 
*** ranges
 +
**** [0-9a=zA-Z]
 
*** complement
 
*** complement
 +
**** [^]
 
** quantifiers
 
** quantifiers
 +
*** color colour
 +
*** helllo hey hello
 
*** greedy/lazy
 
*** greedy/lazy
 +
**** <html>stuff</html>
 
** alternator
 
** alternator
 +
*** |
 
** subexpressions/grouping
 
** subexpressions/grouping
 +
*** ay/bee/see/dee/ee/eff
 
* examples
 
* examples
 
** ps | grep
 
** ps | grep
 
** aggressively commented config
 
** aggressively commented config
 
** regex crossword
 
** regex crossword

Revision as of 00:54, 11 December 2013

On December 10, 2013, Jas Eckard gave this talk on Everyday Regular Expressions:

  • what/why
    • wildcards/glob
    • search (replace)
    • "meta-language"
    • BRE, ERE, PCRE
  • components
    • literal characters
      • grep
    • metacharacters
      • .
    • begin/end of line
      • ^$
    • character classes
      • [dvlshjvkjdlsfhj]
      • ranges
        • [0-9a=zA-Z]
      • complement
        • [^]
    • quantifiers
      • color colour
      • helllo hey hello
      • greedy/lazy
        • <html>stuff</html>
    • alternator
      • |
    • subexpressions/grouping
      • ay/bee/see/dee/ee/eff
  • examples
    • ps | grep
    • aggressively commented config
    • regex crossword