From: Lance Pollard Date: 2009-09-01T16:32:35+09:00 Subject: Re: Best Practice for Multiline Regexps > # incomplete > contents.gsub! %r{ > ( > \[Bindable)(\] > \s* > public > \s+ > function > \s+ > get > \s+) > (\w+) # property name $3 > \s* > \([^)]*\) > .... > }x, '\\1(event="\\3Change")\\2\\3...' > > Kind regards > > robert Nice! I'll try that out. That looks real clean. Thanks a lot for your guys' help. Lance. -- Posted via http://www.ruby-forum.com/.