OpenStudio:utilities/idd
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Pages

Functions

const boost::regex & commentWhitespaceOnlyBlock ()
const boost::regex & commentWhitespaceOnlyLine ()
const boost::regex & editorCommentWhitespaceOnlyBlock ()
const boost::regex & editorCommentWhitespaceOnlyLine ()
const boost::regex & whitespaceOnlyBlock ()
const boost::regex & whitespaceOnlyLine ()

Function Documentation

const boost::regex& openstudio::commentRegex::commentWhitespaceOnlyBlock ( )

Returns regex that matches a block of lines that only contains whitespace and Idd/Idf comments.

The regex does not contain any sub-expressions.

const boost::regex& openstudio::commentRegex::commentWhitespaceOnlyLine ( )

Returns regex that matches a single line that only contains whitespace and an optional Idd/Idf comment.

There is one sub-expression:

matches[1] = comment text with '!' stripped off

const boost::regex& openstudio::commentRegex::editorCommentWhitespaceOnlyBlock ( )

Returns regex that matches a block of lines that only contains whitespace and IdfEditor style Idd/Idf comments.

The regex does not contain any sub-expressions.

const boost::regex& openstudio::commentRegex::editorCommentWhitespaceOnlyLine ( )

Returns regex that matches a single line that only contains whitespace an an optional IdfEditor-style Idd/Idf comment.

There is one sub-expression:

matches[1] = comment text with '!-' stripped off

const boost::regex& openstudio::commentRegex::whitespaceOnlyBlock ( )

Returns regex that matches 0 or more lines that only contain whitespace characters.

The regex does not contain any sub-expressions.

const boost::regex& openstudio::commentRegex::whitespaceOnlyLine ( )

Returns regex that matches a single line that only contains whitespace characters.

The regex does not contain any sub-expressions.