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

In the regards of this regex pattern, can you explain the presence of [^\d]? Why "%" cannot have a digit in front?

Moreover, "%[^%]|\s]" doesn't reflect the matching that only accepts the instances as "%s" or "$[\d]s". It currently allows any character after "%" except "%" itself.