Anthony Bourque

Activity

Reported issues: 1

02/03/2012

05:32 AM Ruby trunk Bug #5961 (Closed): regular expression positive look-behind
irb(main):001:0> input = " \t Jeffs "
=> " \t Jeffs "
irb(main):002:0> input.gsub(%r{(?<=\bJeff)(?=s\b)},"'")
Synt...

Also available in: Atom