class_docstr: A simple tokenizer that given a string ``"/a/b/c"`` yields tokens
  ``["/a", "/a/b", "/a/b/c"]``.
code: def __call__(self, value, positions=False, start_pos=0, **kwargs):
      assert isinstance(value, text_type), "%r is not unicode" % value
      token = Token(positions, **kwargs)
      pos = start_pos
      for match in self.expr.finditer(value):
          token.text = value[: match.end()]
          if positions:
              token.pos = pos
              pos += 1
          yield token
  
imports: from whoosh.compat import u, text_type
  from whoosh.analysis.acore import Composable, Token
  from whoosh.util.text import rcompile
label_desc: Use image node_id 2 for calling the PathTokenizer obj's underlying member method code with example usage: obj.__call__(value, positions, start_pos) without return types