Error in expanded regex