Right, similar, but highly specialized. It will skip character class like `[0-3[:alpha:]\[\-]` (valid PCRE character class, matches 0, 1, 2, 3, [, -, and any alphabetic character).
I can add any comment, just give me easy-to-read correct formulation. ;)