Working with Regex Match Conditions