Correct regex.
Basic logging.