code: def _compileSmsRegexes(self):
          
          if self._smsTextMode:
              if self.CMGR_SM_DELIVER_REGEX_TEXT == None:
                  self.CMGR_SM_DELIVER_REGEX_TEXT = re.compile(r'^\+CMGR: "([^"]+)","([^"]+)",[^,]*,"([^"]+)"$')
                  self.CMGR_SM_REPORT_REGEXT_TEXT = re.compile(r'^\+CMGR: ([^,]*),\d+,(\d+),"{0,1}([^"]*)"{0,1},\d*,"([^"]+)","([^"]+)",(\d+)$')
          elif self.CMGR_REGEX_PDU == None:
              self.CMGR_REGEX_PDU = re.compile(r'^\+CMGR: (\d*),"{0,1}([^"]*)"{0,1},(\d+)$')
docs: Compiles regular expression used for parsing SMS messages based on current mode