Library.RESearch
This function returns the index in expression where the regular expression matches, or 0. If using grouping (), optional output arrays return the indices and lengths if the sub-matches.
Syntax | Parameters | Return Value |
---|---|---|
Function Library.RESearch( _ expression As String, _ regex As String, _ Optional exprStartIndex As Long = 1, _ Optional syntax As RegExSyntaxOption = scRESyntaxNormal, _ Optional options As RegExOptions = scREDefaultOptions, _ Optional ByRef subMatchStartIndices As Variant, _ Optional ByRef subMatchLengths As Variant) As Long |
Type: String Type: String Type: Long Default value: 1 Type: RegExSyntaxOption Default value: scRESyntaxNormal Type: RegExOptions Default value: scREDefaultOptions Type: Variant Type: Variant |
Long |
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.