ADDED support for regular expressions, that do not define all placeholders