When creating a new multilang string, only one attribute order is accepted by the regular expression in filter/multilang/filter.php:48 :
<span lang="en" class="multilang">Blah Blah</span>
If the order of attributes is changed, the string doesn't get filtered at all.
The task is to upgrade this regular expression so that the attributes (including any future additional attributes) can be entered by the course creator in any order.