Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(KFLUXBUGS-1117): use
FindAllStringSubmatch
to get ALL matches (#22
) * Currently, the `FindStringSubmatch()` returns the first Match and its Groups, ignoring the other matches. * This works fine, if the first match is what we're interested in (the e2e test job's url), but it won't return anything if it's the second match. * This commit instead uses `FindAllStringSubmatch()` to return ALL matches and their groups, and goes through them one by one to ignore the ones with string "images" or ")" in them. Signed-off-by: Dheeraj<[email protected]>
- Loading branch information