#233·anteon

Golang Regex Match not working

Author: BuronnCreated Sep 8, 2023Updated Aug 8, 2024
Labelsbug

Describe the bug Match in Regex not working for Capture Data

To Reproduce Steps to reproduce the behavior:

  1. Go to 'New Test'
  2. Add a new step
  3. Add some regex, in my case is: name="_token" value="([^"]+)"
  4. Add Match (I tried with 3 different matches)
  5. Add a new step that uses thoe variables

Expected response Just the token.

Screenshots Step 1: CAPTURE image

Step 2: Body with captured vars image

Step 3: DEBUG image

As you can see, match is not working at all.

System (please complete the following information):

  • OS: Linux
  • Ddosify Version Latest