changed function name '_applyRegexpSubstitutions'