OpenStudio:utilities/idd
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Functions
openstudio::commentRegex Namespace Reference

Functions

const boost::regex & commentWhitespaceOnlyBlock ()
 Returns regex that matches a block of lines that only contains whitespace and Idd/Idf comments. More...
 
const boost::regex & commentWhitespaceOnlyLine ()
 Returns regex that matches a single line that only contains whitespace and an optional Idd/Idf comment. More...
 
const boost::regex & editorCommentWhitespaceOnlyBlock ()
 Returns regex that matches a block of lines that only contains whitespace and IdfEditor style Idd/Idf comments. More...
 
const boost::regex & editorCommentWhitespaceOnlyLine ()
 Returns regex that matches a single line that only contains whitespace an an optional IdfEditor-style Idd/Idf comment. More...
 
const boost::regex & whitespaceOnlyBlock ()
 Returns regex that matches 0 or more lines that only contain whitespace characters. More...
 
const boost::regex & whitespaceOnlyLine ()
 Returns regex that matches a single line that only contains whitespace characters. More...
 

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.