class_docstr: An object that parses version numbers such as::
  
      12.2.5b
  
  The filter supports a limited subset of PEP 386 versions including::
  
      1
      1.2
      1.2c
      1.2c3
      1.2.3
      1.2.3a
      1.2.3b4
      10.7.5rc1
      999.999.999c999
class_docstr_tok: ["An","object","that","parses","version","numbers","such","as",":",":","12.2.5b","The","filter","supports","a","limited","subset","of","PEP","386","versions","including",":",":","1","1.2","1.2c","1.2c3","1.2.3","1.2.3a","1.2.3b4","10.7.5rc1","999.999.999c999"]
code: def __init__(self, major=1, minor=0, release=0, ex="z", exnum=0):
      self.major = major
      self.minor = minor
      self.release = release
      self.ex = ex
      self.exnum = exnum
  
file_path: whoosh/src/whoosh/util/versions.py
imports: from whoosh.util.text import rcompile
label_desc: Use image node_id 1 to create a new SimpleVersion object from inherited base classes: BaseVersion with example: obj = SimpleVersion(major, minor, release, ex, exnum)