class_docstr: Tagger class that uses regular expressions to match the query string.
  Subclasses should override ``create()`` instead of ``match()``.
class_docstr_tok: ["Tagger","class","that","uses","regular","expressions","to","match","the","query","string",".","Subclasses","should","override","``","create","(",")","``","instead","of","``","match","(",")","``","."]
code: def __init__(self, expr):
      self.expr = rcompile(expr)
  
file_path: whoosh/src/whoosh/qparser/taggers.py
imports: from whoosh.util.text import rcompile
label_desc: Use image node_id 1 to create a new RegexTagger object from inherited base classes: Tagger with example: obj = RegexTagger(expr)