This is the final version of this talk, given at RubyConf 2013
Many of us approach regular expressions with a certain fear and trepidation, using them only when absolutely necessary. We can get by when we need to use them, but we hesitate to dive any deeper into their cryptic world. Ruby has so much more to offer us. This talk showcases the incredible power of Ruby and the Onigmo regex library
Ruby runs on. It takes you on a journey beneath the surface, exploring the beauty, elegance, and power of regular expressions. You will discover the flexible, dynamic, and eloquent ways to harness this beauty and power in your own code.
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Beneath the Surface - Rubyconf 2013
1. Beneath the Surface
Regular Expressions in Ruby
@nellshamrell
Photo By Mr. Christopher Thomas
Creative Commons Attribution-ShareALike 2.0 Generic License
121. snake_case to CamelCase
Find first letter of string and
capitalize it
Find any character that follows
an underscore and capitalize it
122. snake_case to CamelCase
Find first letter of string and
capitalize it
Find any character that follows an
underscore and capitalize it
Remove underscores