P
Pen Ttt
irb(main):011:0> " gk".gsub("\s","h")
=> "hhhhhgk"
irb(main):012:0> " gk".gsub("\s+","h")
=> " gk"
how can i make " gk" into "hgk"?
=> "hhhhhgk"
irb(main):012:0> " gk".gsub("\s+","h")
=> " gk"
how can i make " gk" into "hgk"?