Module: MzML::RGX

Defined in:
lib/mzml/doc.rb

Overview

An internal module containing useful regular expressions

Constant Summary collapse

INDEX_OFFSET =

The file byte offset of the start of the file index

/<indexListOffset>(\d+)<\/indexListOffset>/
DATA_LIST_START =

The start of a either a spectrumList or chromatographList

/<(spectrum|chromatogram)List\s.*count\=["'](\d+)/m
DATA_START =

The start spectrum or chromatogram element

/<(spectrum|chromatogram)\s.*id=["']([^'"]+)["']/m
DATA_END =

The end spectrum or chromatogram element

/(<\/(spectrum|chromatogram)>)/