iam-TJ/AContent — comment on commit 8ad74b5dda9626f1237e1df96a1183f573d254d2
File: include/classes/Message/Message.class.php line 111
By cindyli:

Considering the currently used string formats in the language_text.text field that hold the positions for the dynamically supplied message in AContent (and ATutor), there are far less formats to match rather than excluding the mismatches.

The in-use formats are,
1. %s
2. %1s, %2s and so so.

So, the regex pattern in my thought could be /%[\d]*s/