This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.
Holger Freyther holger at freyther.de> On 19 Feb 2016, at 21:19, Pierre Pronchery <khorben at defora.org> wrote: > > > This works for me: > > $ REGEXP='s/\[\[Image(\([^,]*\), *\([0-9]*\)px)\]\]/{{thumbnail(\1, > size=\2)}}/' > $ echo '[[Image(motorola_filter_replacement_step_1_low.jpg, 250px)]]' | > sed -e "$REGEXP" > {{thumbnail(motorola_filter_replacement_step_1_low.jpg, size=250)}} great. could you try to make it work with irb and 'string'.gsub(/regexp/, 'replacement') too? thanks! holger