<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _create_regex_if_none(self):
 """ Private function. Checks to see if the local regular expression object has been created yet """

        if self._regex is None:
            self._regex = re.compile(self._pattern, re.UNICODE)