artillery-core icon indicating copy to clipboard operation
artillery-core copied to clipboard

Allow passing variable of array back for global regexp

Open markwylde opened this issue 6 years ago • 0 comments

If you use a capture, like the following, you can have multiple matches for the one regexp.

- regexp: name="names\[\]" value="(.)"
  flags: g
  group: 1
  as: "names"

This change allows names to be an array of multiple items if the g flag is given.

markwylde avatar Mar 06 '18 11:03 markwylde