def AsRegEx(self):
    'Return the current glob as a simple regex.\n\n    Note: No interpolation is performed.\n\n    Returns:\n      A RegularExpression() object.\n    '
    parts = self.__class__.REGEX_SPLIT_PATTERN.split(self._value)
    result = ''.join((self._ReplaceRegExPart(p) for p in parts))
    return rdf_standard.RegularExpression(('(?i)\\A%s\\Z' % result))
Return the current glob as a simple regex.

Note: No interpolation is performed.

Returns:
  A RegularExpression() object.
def AsRegEx(self):
    'Return the current glob as a simple regex.\n\n    Note: No interpolation is performed.\n\n    Returns:\n      A RegularExpression() object.\n    '
    parts = self.__class__.REGEX_SPLIT_PATTERN.split(self._value)
    result = .join((self._ReplaceRegExPart(p) for p in parts))
    return rdf_standard.RegularExpression(('(?i)\\A%s\\Z' % result))