Explaining the mysteries of [regexp]


    Mar 10 2014 | 11:04 am
    This intro to regular expressions might be useful if, like me, you are unfamiliar with them...

    • Mar 10 2014 | 12:20 pm
      I always find string formatting frustrating, that's gonna be really helpful! Thanks!!
    • Mar 10 2014 | 1:05 pm
      Me too.. thanks David!
    • Mar 10 2014 | 1:42 pm
      yay, noob friendly regexp tutorial. thanks !
    • Mar 10 2014 | 2:08 pm
      a question though... the underscore at the end of character class range is not quite explained ?... i mean : " a word character is \w which is [0-9A-Za-z_] " i don't understand why there is an underscore ? why not simply [0-9A-Za-z] ?
    • Mar 10 2014 | 2:33 pm
      "_" is part of the character class. Try this:
    • Mar 10 2014 | 3:08 pm
      oh, okay, simply that. But why is it part of "word character" then ?