Fixed check to be compliant with the new whois output of the .org gTLD
Benjamin Renard

Benjamin Renard commited on 2014-01-22 14:12:41
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -76,7 +76,7 @@ case $TLD in
76 76
 	*)
77 77
 		EXTXT=`echo -e "$WHOIS"|grep "^expires:"|tail -n 1`
78 78
 		[ $DEBUG -eq 1 ] && echo "expire result format 1 : $EXTXT"
79
-		[ ! -n "$EXTXT" ] && EXTXT=`echo -e "$WHOIS"|egrep "([^:]*Expiration Date|Renewal date)"|tail -n 1`
79
+		[ ! -n "$EXTXT" ] && EXTXT=`echo -e "$WHOIS"|egrep "([^:]*Expiration Date|Renewal date|Registry Expiry Date)"|tail -n 1`
80 80
 		[ $DEBUG -eq 1 ] && echo "expire result format 2 : $EXTXT"
81 81
 		
82 82
 		[ $DEBUG -eq 1 ] && echo "Whois expire date : $EXTXT"
83 83