add regex example
@@ -63,6 +63,7 @@ class GetApns(GenericAtCommand):
pass
return super(GetApns, self).on_new_line(line, is_full_line)
+ # +CGDCONT: 1,"IPV4V6","apnscp1","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
_re_apn = re.compile(r'^\s*\+CGDCONT\:\s(?P<apn_num>([0-9]+)),\"(?P<apn_ip_name>(IPV4(V6)?))\",\"'
'(?P<apn_name>([a-zA-Z0-9]*))\".*$')
