Mantid
Loading...
Searching...
No Matches
Variables
Mantid::Kernel::MultiFileNameParsing::Regexs Namespace Reference

Regexs used to match / parse various strings. More...

Variables

const std::string ADD_LIST = "(" + SINGLE_OR_STEP_OR_ADD_RANGE + "(" + PLUS + SINGLE_OR_STEP_OR_ADD_RANGE + ")+" + ")"
 
const std::string ADD_RANGE = "(" + SINGLE + MINUS + SINGLE + ")"
 
const std::string ADD_STEP_RANGE = "(" + SINGLE + MINUS + SINGLE + COLON + SINGLE + ")"
 
const std::string ANY
 
const std::string COLON = "(" + SPACE + ":" + SPACE + ")"
 
const std::string COMMA = "(" + SPACE + "," + SPACE + ")"
 
const std::string INST = "([A-Za-z]+|PG3|pg3)"
 
const std::string LIST = "(" + ANY + "(" + COMMA + ANY + ")*" + ")"
 
const std::string MINUS = "(" + SPACE + "\\-" + SPACE + ")"
 
const std::string PLUS = "(" + SPACE + "\\+" + SPACE + ")"
 
const std::string RANGE = "(" + SINGLE + COLON + SINGLE + ")"
 
const std::string SINGLE = "(" + INST + "*[0-9]+)"
 
const std::string SINGLE_OR_STEP_OR_ADD_RANGE = "(" + ADD_STEP_RANGE + "|" + ADD_RANGE + "|" + SINGLE + ")"
 
const std::string SPACE = "(\\s*)"
 
const std::string STEP_RANGE = "(" + SINGLE + COLON + SINGLE + COLON + SINGLE + ")"
 
const std::string UNDERSCORE = "(_{0,1})"
 

Detailed Description

Regexs used to match / parse various strings.

Variable Documentation

◆ ADD_LIST

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ADD_LIST = "(" + SINGLE_OR_STEP_OR_ADD_RANGE + "(" + PLUS + SINGLE_OR_STEP_OR_ADD_RANGE + ")+" + ")"

Definition at line 31 of file MultiFileNameParser.h.

◆ ADD_RANGE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ADD_RANGE = "(" + SINGLE + MINUS + SINGLE + ")"

Definition at line 31 of file MultiFileNameParser.h.

◆ ADD_STEP_RANGE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ADD_STEP_RANGE = "(" + SINGLE + MINUS + SINGLE + COLON + SINGLE + ")"

Definition at line 31 of file MultiFileNameParser.h.

◆ ANY

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ANY

◆ COLON

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::COLON = "(" + SPACE + ":" + SPACE + ")"

Definition at line 30 of file MultiFileNameParser.h.

◆ COMMA

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::COMMA = "(" + SPACE + "," + SPACE + ")"

Definition at line 34 of file MultiFileNameParser.cpp.

◆ INST

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::INST = "([A-Za-z]+|PG3|pg3)"

Definition at line 29 of file MultiFileNameParser.cpp.

◆ LIST

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::LIST = "(" + ANY + "(" + COMMA + ANY + ")*" + ")"

◆ MINUS

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::MINUS = "(" + SPACE + "\\-" + SPACE + ")"

Definition at line 30 of file MultiFileNameParser.h.

◆ PLUS

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::PLUS = "(" + SPACE + "\\+" + SPACE + ")"

Definition at line 30 of file MultiFileNameParser.h.

◆ RANGE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::RANGE = "(" + SINGLE + COLON + SINGLE + ")"

Definition at line 31 of file MultiFileNameParser.h.

◆ SINGLE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::SINGLE = "(" + INST + "*[0-9]+)"

Definition at line 39 of file MultiFileNameParser.cpp.

◆ SINGLE_OR_STEP_OR_ADD_RANGE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::SINGLE_OR_STEP_OR_ADD_RANGE = "(" + ADD_STEP_RANGE + "|" + ADD_RANGE + "|" + SINGLE + ")"

Definition at line 44 of file MultiFileNameParser.cpp.

◆ SPACE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::SPACE = "(\\s*)"

Definition at line 29 of file MultiFileNameParser.h.

◆ STEP_RANGE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::STEP_RANGE = "(" + SINGLE + COLON + SINGLE + COLON + SINGLE + ")"

Definition at line 31 of file MultiFileNameParser.h.

◆ UNDERSCORE

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::UNDERSCORE = "(_{0,1})"

Definition at line 29 of file MultiFileNameParser.h.