Avoid regexp warnings with Ruby < 1.9
Merge pull request #254 from stoned/regexp_old_ruby

Avoid regexp warnings with Ruby < 1.9