seperating RegExp checks