Fixed format and arguments mismatches in error log messages.
Router: matching regular expressions support.