The “matchRegex” command does not support “capture groups” via parentheses, unlike the equivalent 4D command “Match Regex”, as arrays are not supported by Qodly.
Qodly script alternate syntax that accepts collections or other solution which support regex capture group would be welcome.
" If you pass arrays, the command returns the position and length of the occurrence in the element zero of the arrays and the positions and lengths of the groups captured by the regular expression in the following elements."
Before migrating our project from 4D/Qodly to Qodly cloud, we used the Match Regex command with the parameters pos and length arrays.
In Qodly cloud, we had to rewrite our code because this syntax is not supported by Qodly script.