Skip to content

add no new line validator

Administrator requested to merge jdb/capture-group-validator-update into main

Created by: unclejustin

Closes https://github.com/sourcegraph/sourcegraph/issues/30713

Adds "no new lines" check to capture group creation UI

PixelSnap 2022-02-16 at 18 00 12

Test plan

  • Go to insights and create new insight
  • Select "Detect and track patterns"
  • Add \n to the query. Should show error seen in image above.

Merge request reports

Loading