def to_pattern(self):
        pattern_str = "(%s%s[^\s,\"\']+)" % (escape(self.prefix_path), escape(sep))
        return compile(pattern_str)
dataset/ETHPy150Open galaxyproject/pulsar/pulsar/client/action_mapper.py/PrefixPathMapper.to_pattern/original