capture() Operation
Syntax |
| |
---|---|---|
Semantics | Returns a list of all captured groups that are identified by the regular expression. | |
Substitutables |
| Can be any variable or object attribute having the type String. |
| A variable or a literal containing a valid regular expression defining groups within | |
| An array of String containing the found groups. | |
Examples | Assume we have an URL that we want to break down to its elements:
NONE
This will result in an array elements having the array elements ["info", "acme-corp", "com"]. |
Related Pages: