whois/parser.py
changeset 102 e8cb8d1367c0
parent 99 67b90bfc59c7
child 103 9b79ce8f9829
--- a/whois/parser.py	Wed Jun 15 09:39:05 2016 +0100
+++ b/whois/parser.py	Mon Jun 27 17:00:26 2016 +0000
@@ -457,8 +457,17 @@
     """Whois parser for .ca domains
     """
     regex = {
-        'registrant_name':                'Name: *(.+)',
+        'domain_name':                    'Domain name: *(.+)',
+        'registrant_name':                '(?<!Domain) Name: *(.+)',
         'registrant_number':              'Number: *(.+)\n',
+        'domain_status':                  'Domain status: *(.+)',
+        'emails':                         'Email: *(.+)',
+        'updated_date':                   'Updated Date: *(.+)',
+        'creation_date':                  'Creation Date: *(.+)',
+        'expiration_date':                'Expiry Date: *(.+)',
+        'phone':                          'Phone: *(.+)',
+        'fax':                            'Fax: *(.+)',
+        'dnssec':                         'dnssec: *([\S]+)'
     }
 
     def __init__(self, domain, text):