Refactored regex.