Avega Elevate 2011 - Regex av Staffan Nöteberg

670 views
578 views

Published on

Regex presentation at Avega Elevate 2011 by Staffan Nöteberg

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
670
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Avega Elevate 2011 - Regex av Staffan Nöteberg

  1. 1. RegexRegex Habits © blog.staffannoteberg.com (1)
  2. 2. Staffan NötebergRegex Habits © blog.staffannoteberg.com (2)
  3. 3. Pomodoro-kurs 7 septemberRegex Habits © blog.staffannoteberg.com (3)
  4. 4. Two-upRegex Habits © blog.staffannoteberg.com (4)
  5. 5. GlobRegex Habits © blog.staffannoteberg.com (5)
  6. 6. OriginRegex Habits © blog.staffannoteberg.com (6)
  7. 7. FunctionsRegex Habits © blog.staffannoteberg.com (7)
  8. 8. Directed Graph(nondeterministic)Regex Habits © blog.staffannoteberg.com (8)
  9. 9. AlphabetRegex Habits © blog.staffannoteberg.com (9)
  10. 10. StatesRegex Habits © blog.staffannoteberg.com (10)
  11. 11. Transition TableRegex Habits © blog.staffannoteberg.com (11)
  12. 12. Nondeterministic FiniteAutomata (NFA)Regex Habits © blog.staffannoteberg.com (12)
  13. 13. Directed Graph (DFA/NFA)Regex Habits © blog.staffannoteberg.com (13)
  14. 14. Deterministic Finite Automata(DFA)Regex Habits © blog.staffannoteberg.com (14)
  15. 15. Regular ExpressionsRegex Habits © blog.staffannoteberg.com (15)
  16. 16. ArchitectureRegex Habits © blog.staffannoteberg.com (16)
  17. 17. Matching One CharacterRegex Habits © blog.staffannoteberg.com (17)
  18. 18. Operator #1: ConcatenationRegex Habits © blog.staffannoteberg.com (18)
  19. 19. Operator #2: Kleene StarRegex Habits © blog.staffannoteberg.com (19)
  20. 20. Operator #3: AlternationRegex Habits © blog.staffannoteberg.com (20)
  21. 21. Quiz #1 ((nyårs|midsommar|jul) (afton|dagen))| (annandag (påsk|jul))| ((långfre|påsk|pingst)dagen)| ((alla helgons | kristi himmelsfärds | sveriges national)dag)| trettondag jul|första majRegex Habits © blog.staffannoteberg.com (21)
  22. 22. ParenthesesRegex Habits © blog.staffannoteberg.com (22)
  23. 23. Quiz #2 saippuakivikauppiasRegex Habits © blog.staffannoteberg.com (23)
  24. 24. FiniteRegex Habits © blog.staffannoteberg.com (24)
  25. 25. Regular Regex?Regex Habits © blog.staffannoteberg.com (25)
  26. 26. Greedy (Kleene Star)Regex Habits © blog.staffannoteberg.com (26)
  27. 27. Backtracking (NFA)Regex Habits © blog.staffannoteberg.com (27)
  28. 28. Leftmost (NFA Alternation)Regex Habits © blog.staffannoteberg.com (28)
  29. 29. DialectsRegex Habits © blog.staffannoteberg.com (29)
  30. 30. Regex LiteralRegex Habits © blog.staffannoteberg.com (30)
  31. 31. ApplicationsRegex Habits © blog.staffannoteberg.com (31)
  32. 32. ArchitectureRegex Habits © blog.staffannoteberg.com (32)
  33. 33. Regex ObjectsRegex Habits © blog.staffannoteberg.com (33)
  34. 34. Match ObjectRegex Habits © blog.staffannoteberg.com (34)
  35. 35. QuantifiersRegex Habits © blog.staffannoteberg.com (35)
  36. 36. Quiz #3(0|1|2)(0|1|2|3|4|5|6|7|8|9){2}Regex Habits © blog.staffannoteberg.com (36)
  37. 37. Quantifier algebraRegex Habits © blog.staffannoteberg.com (37)
  38. 38. Positive Closure over ClosureRegex Habits © blog.staffannoteberg.com (38)
  39. 39. Character ClassRegex Habits © blog.staffannoteberg.com (39)
  40. 40. Quiz #4 [a-z0-9._-]+@[a-z0-9.-]+ .[a-z]{2,6}Regex Habits © blog.staffannoteberg.com (40)
  41. 41. Quiz #5 25[0-5]|2[0-4][0-9]| 1[0-9][0-9]|[1-9]?[0-9]Regex Habits © blog.staffannoteberg.com (41)
  42. 42. Metacharacters – shorthandsRegex Habits © blog.staffannoteberg.com (42)
  43. 43. Quiz #6 1(0|1)d{3}Regex Habits © blog.staffannoteberg.com (43)
  44. 44. Quiz #7 (((00|+)46|0)8)?d{5,8}Regex Habits © blog.staffannoteberg.com (44)
  45. 45. Metacharacters – dotRegex Habits © blog.staffannoteberg.com (45)
  46. 46. Economical use of DotRegex Habits © blog.staffannoteberg.com (46)
  47. 47. Quiz #8 .+@.+Regex Habits © blog.staffannoteberg.com (47)
  48. 48. Metacharacters – UnicodeRegex Habits © blog.staffannoteberg.com (48)
  49. 49. Quiz #9 d+(,dd)?s?u20ACRegex Habits © blog.staffannoteberg.com (49)
  50. 50. Assertions – AnchorRegex Habits © blog.staffannoteberg.com (50)
  51. 51. Quiz #10 ^s+ s+$Regex Habits © blog.staffannoteberg.com (51)
  52. 52. Assertions – LookaroundRegex Habits © blog.staffannoteberg.com (52)
  53. 53. Quiz #11 ^(?=.*d)(?=.*([a-zA-Z])) .{8,40}$Regex Habits © blog.staffannoteberg.com (53)
  54. 54. ModeRegex Habits © blog.staffannoteberg.com (54)
  55. 55. Capture and BackreferenceRegex Habits © blog.staffannoteberg.com (55)
  56. 56. Quiz #12 <(w+)[^>]*>[^<]*</1>Regex Habits © blog.staffannoteberg.com (56)
  57. 57. Staffan NötebergBook:Pomodoro Technique Illustratedwww.pomodoro-book.comTwitter: staffannoteberghttp://blog.staffannoteberg.com Regex Habits © blog.staffannoteberg.com (57)

×