Sideway
output.to from Sideway
Draft for Information Only

Content

VBScript Object Collections
 Matches Collection
  Syntax
  Argument
  Remark
  ReqVersion
  Applied to
 SubMatches Collection
  Syntax
  Remark
  ReqVersion
  Applied to

VBScript Object Collections

Some typical predefined Elements are.

  • RegExp Object:
    • Execute Method
      • Matches Collection
        • Match Object
          • SubMatches Collection

Matches Collection

last updated 11 Dec 2017

is to prvide access to all matches returned by a regular expression search per a pattern as a single object.

Syntax

Set rematcolvar=reobjvar.Execute(string)

Argument

SetRequired. to specify the setting of an Object instance reference.rematcolvarRequired. to specify the name of the new Object instance reference.reobjvarRequired. The variable name of the associated Object instantance.ExecuteRequired Method Keyword. To specify the Execute Execute of an RegExp Object.stringOptional. Regular string expression being searched for. May include any predefined regular expression characters for setting..Required. The dot notation used to access the Property of an object.=Required. required as assigning equal to operator for setting the value of Pattern to searchstring.

Remark

  • A Matches Collection can be only created using the Execute Method of the RegExp Object.
  • A Matches Collection contains individual Match Objects that are matched returned per specified Pattern by the Execute Method of RegExp Object.
  • The Count property of the Matches collection is read-only, as are the individual Match object properties.
  • When a regular expression is executed, zero or more Match objects can result. Each Match object provides access to the string found by the regular expression, the length of the string, and an index to where the match was found.
  • Collection of regular expression Match objects returned from the Execute Method of RegExp Object. In other words, a collection of matched items per speicifed pattern.

ReqVersion

5

Applied to

RegExp Object

SubMatches Collection

last updated 12 Dec 2017

is to provide access to all submatches inside a match returned by a regular expression search as a single object.

Syntax

Set rematobjvar=reobjvar.Execute(string).Item(key)
Set resubmatcolvar=rematobjvar.SubMatches

Remark

  • A SubMatches collection contains individual submatch strings, and can only be created using the Execute method of the RegExp object. The SubMatches collection's properties are read-only When a regular expression is executed, zero or more submatches can result when subexpressions are enclosed in capturing parentheses. Each item in the SubMatches collection is the string found and captured by the regular expression. The following code illustrates how to obtain a SubMatches collection from a regular expression search and how to access its individual members:

ReqVersion

5.5

Applied to

RegExp Object

©sideway

ID: 180500019 Last Updated: 5/19/2018 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019