humanmade/Custom-Meta-Boxes — pull request #174 by yoren (2014-03-03 07:16:17+00:00)
Title: Fix the pattern of preg_replace

The bug caused a issue that only 10 repeatable group fields can be updated.

If the fields are created by the "Add New Group" button, things work well. If they are rendered by PHP, the error happens.

The old pattern will make "cmb-field-10" be replaced as "cmb-group-0", and overwrite the value of previous "cmb-group-0", so there are always only 10 repeatable group fields could be updated, the others would be omitted.