Comment on "
Regex Replacement in Ruby
"
by
Elliott Hughes
— Oct 30
\w means "word", not whitespace. you meant \s.
Back to "
Regex Replacement in Ruby
"
Copyright © Scott Stevenson 2004-2015
by Elliott Hughes — Oct 30