refeactor __get_executor and _*Executor constructors.
regex_replace fix