Skip to content
Snippets Groups Projects
Closed Update capture groups insight creation form to indicate that regex can only match a single line *and* you can't use NOT
  • View options
  • Update capture groups insight creation form to indicate that regex can only match a single line *and* you can't use NOT

  • View options
  • Closed Issue created by Administrator

    Created by: Joelkw

    @coury-clark discovered that compute only handles capture groups over single line matches.

    While we are of course prioritizing getting multiline abilities – see #30711 – we in the meantime need to alert users only single lines are allowed.

    Users can still use file: type and other predicates as possible workaround, though it's expected they'll need CE and Product support to get the queries correct in the short term.

    UI update

    We need to add two criteria to the below pictured section that says:

    • Does not contain a match over more than a single line.
    • Then, also modify the first sentence to say "Does not contain boolean operators AND, OR, and NOT (regular expression operators can still be used)"
      • So the change here is to add NOT and also make "operator" plural, "operators" (which it should have been already, whoops).

    If at all possible, we should validate it by at least checking for no \n character since that's by far the most common (but \s is still allowed, even though that can also match newline). We should also try to validate on no NOT.

    image

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first