Prime numbers
Cryptic?
Cryptic?
Cryptic?
Cryptic?
Cryptic?
Jamie Zawinski
XKCD
Regex Traits• Declarative• No whitespace or delimiters  –literals, meta characters   and operators• Domain Specific (DSL)
Requisite scents
Scent: Text to Type
Scent: Text to Type
Scent: Text to Type
Scent: Text to Type
Scent: Text to Type
Scent: Text to Type
Scent: Non-recursive
Scent: Not lucid
Scent: Emerging
Scent: Complex logic
Scent: Complex logic
Clean regex code• Correct• Simple(Still demands proficiency, however)
Precedence
Escape
Lookarounds
Quantifiers
Quant Algebra
Backtracking
Lazy Quant
Shrthnds
Unicode
Character Class
Char Class Escape
Capture & Back ref
Non-capturing
Named Captures
Anchors
Modes
TDD
Regex Day!
Regex Day!• http://rekursiv.se/regexkurs• 5 mars• Stockholm
2012-02-15 jfokus2012 - regex applied
2012-02-15 jfokus2012 - regex applied
2012-02-15 jfokus2012 - regex applied
2012-02-15 jfokus2012 - regex applied
2012-02-15 jfokus2012 - regex applied
2012-02-15 jfokus2012 - regex applied
Upcoming SlideShare
Loading in …5
×

2012-02-15 jfokus2012 - regex applied

886
-1

Published on

Slides from Staffan Nöteberg's session at Jfokus 2011-02-15 jfokus2012 - regex applied

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

  • Be the first to like this

No Downloads
Views
Total Views
886
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

2012-02-15 jfokus2012 - regex applied

  1. 1. Prime numbers
  2. 2. Cryptic?
  3. 3. Cryptic?
  4. 4. Cryptic?
  5. 5. Cryptic?
  6. 6. Cryptic?
  7. 7. Jamie Zawinski
  8. 8. XKCD
  9. 9. Regex Traits• Declarative• No whitespace or delimiters –literals, meta characters and operators• Domain Specific (DSL)
  10. 10. Requisite scents
  11. 11. Scent: Text to Type
  12. 12. Scent: Text to Type
  13. 13. Scent: Text to Type
  14. 14. Scent: Text to Type
  15. 15. Scent: Text to Type
  16. 16. Scent: Text to Type
  17. 17. Scent: Non-recursive
  18. 18. Scent: Not lucid
  19. 19. Scent: Emerging
  20. 20. Scent: Complex logic
  21. 21. Scent: Complex logic
  22. 22. Clean regex code• Correct• Simple(Still demands proficiency, however)
  23. 23. Precedence
  24. 24. Escape
  25. 25. Lookarounds
  26. 26. Quantifiers
  27. 27. Quant Algebra
  28. 28. Backtracking
  29. 29. Lazy Quant
  30. 30. Shrthnds
  31. 31. Unicode
  32. 32. Character Class
  33. 33. Char Class Escape
  34. 34. Capture & Back ref
  35. 35. Non-capturing
  36. 36. Named Captures
  37. 37. Anchors
  38. 38. Modes
  39. 39. TDD
  40. 40. Regex Day!
  41. 41. Regex Day!• http://rekursiv.se/regexkurs• 5 mars• Stockholm
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×