code: def RegexAnalyzer(expression=r"\w+(\.?\w+)*", gaps=False):
      """Deprecated, just use a RegexTokenizer directly."""
  
      return RegexTokenizer(expression=expression, gaps=gaps)
  
imports: from whoosh.analysis.acore import Composable, CompositionError
  from whoosh.analysis.tokenizers import Tokenizer
  from whoosh.analysis.filters import LowercaseFilter
  from whoosh.analysis.filters import StopFilter, STOP_WORDS
  from whoosh.analysis.morph import StemFilter
  from whoosh.analysis.intraword import IntraWordFilter
  from whoosh.analysis.tokenizers import default_pattern
  from whoosh.analysis.tokenizers import CommaSeparatedTokenizer
  from whoosh.analysis.tokenizers import IDTokenizer
  from whoosh.analysis.tokenizers import RegexTokenizer
  from whoosh.analysis.tokenizers import SpaceSeparatedTokenizer
  from whoosh.lang.porter import stem
label_desc: Use image node_id 3 for calling a global function with example usage: RegexAnalyzer(expression, gaps) and returns: RegexTokenizer