Regular Expressions and You

Eat N Geek 2012-08-09

Bringing you and Regular Expressions closer to a first base relationship is our beloved James Armes. He takes us through the easy, the hard, and the clever, with examples, explanation, and one of the shortest Eat N' Geeks we have ever sat through. This isn't to say that there isn't much clear content. It's just James is super efficient in drilling it into your brain. You will never see "Hello World" quite the same again!

James starts it all off with showing us both simple and complex regular expressions and then leads into telling us about the different types. Turns out, there are at least 4 different types.

  • Simple Regular Expressions
  • POSIX Basic Regular Expressions
  • POSIX Extended Regular Expressions
  • Perl Regular Expressions

James focuses mostly on Perl Regular Expressions throughout the talk and toward the end, gives a heads up on what applications and languages use what standard. He also elaborates on the basic characters that make up RegEx, advanced characters, quantifiers, and lazy quantifiers.

Later in the presentation, James presents on more advanced concepts such as grouping, back-referencing, look-aheads, look-behinds, and conditionals. Of all this I personally only knew the first two existed!

Did you know just about every modern computer language has it's own implementation of RegEx? James shows us some examples from Javascript, Perl, and PHP.

Lastly, he gives us a look at a couple of tools:

Check out his resources!

comments powered by Disqus