code: def SpaceSeparatedTokenizer():
      """Returns a RegexTokenizer that splits tokens by whitespace.
  
      >>> sst = SpaceSeparatedTokenizer()
      >>> [token.text for token in sst("hi there big-time, what's up")]
      ["hi", "there", "big-time,", "what's", "up"]
      """
  
      return RegexTokenizer(r"[^ \t\r\n]+")
  
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 for calling a global function with example usage: SpaceSeparatedTokenizer() and returns: RegexTokenizer