Get a Sub-Match of Partial
If there is a match using a capture group in an Partial match search using a Regular Expression, the search result can be retrieved as a submatch string.
The submatch string is stored as an array. Specify the array element.
Parameter
ExStrRgxSrchSub( "ASTER", 0 )
What is Submatch
Using the structure called capture groups in regular expressions, you can obtain matches for specific groups within a search result. This matched result is called submatch.
Submatches are stored in an array, and each element's string can be retrieved by specifying the array index.
The submatches for "exact match" and "partial match" are stored in separate areas, and they do not affect each other.
JSON Export
The Submatches can be exported to JSON.