> On 19 Feb 2016, at 21:26, Holger Freyther <[email protected]> wrote: > > > > great. could you try to make it work with irb and 'string'.gsub(/regexp/, > 'replacement') too?
txt2.gsub(/^\[\[Image\(([^,]*)\,\W*([0-9]*)px\)\]\]/, '{{thumbnail(\1,
size=\2}}')
