class_docstr: A simple tokenizer that given a string ``"/a/b/c"`` yields tokens
  ``["/a", "/a/b", "/a/b/c"]``.
code: def __init__(self, expression="[^/]+"):
      self.expr = rcompile(expression)
  
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 1 to create a new PathTokenizer object from inherited base classes: Tokenizer with example: obj = PathTokenizer(expression)