issue #914 added missing code to make (already existing) RegexPredicate usable