How do you use Regex capture groups

Hello all,

I thought I had an answer to another post in the forum when I found out that the UI.Vision RPA software supported Regex, however, I was unable to get capture groups to work.

So what I am currently trying to grab a portion of an IP (see code below:) but my Regex (regex=172.\d+.(\d+).\d+$1) that works in other programs is not garbing the capture group.

Is there a way to select the first capture group or is this function of Regex not possible with Kantu?

{
  "Name": "Regex",
  "CreationDate": "2020-2-24",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://en.wikipedia.org/wiki/IP_address",
      "Value": ""
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=172\.\d+\.(\d+)\.\d+",
      "Value": "value"
    },
    {
      "Command": "pause",
      "Target": "2000",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "${value}",
      "Value": ""
    }
  ]
}

The notation to extract regex capture groups in UI.Vision is
regex=…@MATCH,GROUP:

My test macro:

{
  "Name": "js",
  "CreationDate": "2020-2-25",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://en.wikipedia.org/wiki/IP_address",
      "Value": ""
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=172\\.\\d+\\.(\\d+)\\.\\d+@1,1",
      "Value": "match1_group1"
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=172\\.\\d+\\.(\\d+)\\.\\d+@3,1",
      "Value": "match3_group1"
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=172\\.\\d+\\.(\\d+)\\.\\d+@5,1",
      "Value": "match5_group1"
    },
    {
      "Command": "echo",
      "Target": "${match1_group1}",
      "Value": "green"
    },
    {
      "Command": "echo",
      "Target": "${match3_group1}",
      "Value": "blue"
    },
    {
      "Command": "echo",
      "Target": "${match5_group1}",
      "Value": "brown"
    }
  ]
}