added ''{repl} support; selects for empty strings