getCaptureByName

getCaptureByName(name: String): JadeRegexCapture;

The getCaptureByName method of the JadeRegexMatch class returns the first JadeRegexCapture object with the value specified in the name parameter that is valid (that is, duplicate names are allowed) or it returns the first capture that contains the specified name.

For an example of the use of getCaptureByName in a method, see the code example in the JadeRegexPattern class setDuplicateNames method.

2020.0.01 and higher