Skip to content

Commit

Permalink
fix: use of regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhaintz committed Aug 14, 2024
1 parent 9f37527 commit 4a8ac7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/platforms/flutter/configuration/filtering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ When a string or a non-error object is raised, Sentry creates a synthetic except

Based on the URL, you can narrow down whether events should be sent to Sentry.
Using `allowUrls`, events are only sent if the URL matches the pattern specified in `allowUrls`.
`allowUrls` also accepts regular expression by adding the `^` and the `$` to the string.
`allowUrls` uses regular expression to compare.

If used on a platform other than Web, this setting will be ignored.

Expand All @@ -79,7 +79,7 @@ If used on a platform other than Web, this setting will be ignored.

You can exclude events sent to Sentry based on the URL.
Using `denyUrls`, events are ignored if the URL matches the pattern specified in `denyUrls`.
`denyUrls` also accepts regular expression by adding the `^` and the `$` to the string.
`denyUrls` uses regular expression to compare.

In combination with `allowUrls` you can block subdomains of the domains listed in `allowUrls`.

Expand Down

0 comments on commit 4a8ac7e

Please sign in to comment.