RegularExpressions Object

This collection is accessed via the Preferences Object. It corresponds to the information configured on the Expressions options page. Each entry on that page corresponds to a RegularExpression Object member of this collection. Each such member represents a regular expression that is used to match unimportant text that you wish Merge to ignore when performing comparisons.

Properties

Countread-onlyIRegularExpressions

The number of items in this collection.

IDL [propget] HRESULT Count([out, retval] long* pValue)
.NET Int32 Count[get]
VB6 Count As Long

Itemread-onlyIRegularExpressions

Returns the item (not a copy) at the given index.

IDL [propget] HRESULT Item(
    [in] VARIANT index,
    [out, retval] IRegularExpression** pValue)
.NET RegularExpression get_Item(
    Object index)
VB6 Item(
    index As Variant) As RegularExpression
  • index
    A zero-based integer index into the collection.

Methods

AddIRegularExpressions

Adds the item regularExpression (not a copy) to the end of the collection. Returns the index of the added item.

IDL HRESULT Add(
    [in] IRegularExpression* regularExpression,
    [out, retval] long* pValue)
.NET Int32 Add(
    RegularExpression regularExpression)
VB6 Add(
    regularExpression As RegularExpression) As Long
  • regularExpression
    The item to be added to the collection.

RemoveIRegularExpressions

Removes the item at the specified index.

IDL HRESULT Remove(
    [in] long index)
.NET void Remove(
    Int32 index)
VB6 Remove(
    index As Long)
  • index
    The index of the item to remove.