JCL Help:TJclRegEx.CaptureRanges

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Indicates the location of a string in a text subject resulting from a call to the Match method.


Pascal

 public property CaptureRanges [Index: Integer]: TJclCaptureRange;


Description

CaptureRanges is an read-only CaptureRanges property that indicates the location of a string in a text subject resulting from a call to the Match method. CaptureRanges is an indexed property, and provides access to each string in the result by its' ordinal position.
Use CaptureCount to determine the total number of strings in the result from the Match method. The range of values is in CaptureRanges and Captures is guaranteed to be in the range 0 up to CaptureCount-1.
Use Captures to access the strings resulting from a call to the Match method.
See the documentation in TJclCaptureRange for a detailed description of the members in the structure.


See Also

CaptureCount Captures Match Compile TJclCaptureRange


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page