Skip to content

Commit 1b464f4

Browse files
authored
fix(pii): Regex101 supports a Rust dialect now (#15228)
## DESCRIBE YOUR PR `regex101` supports Rust now, also Rust Regex support is now generally much more common and is exactly what we use internally. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [X] None: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [x] Checked Vercel preview for correctness, including links - [x] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs)
1 parent 71b8635 commit 1b464f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/security-legal-pii/scrubbing/advanced-datascrubbing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Rules generally consist of three parts:
4949

5050
- Do not write `/[a-zA-Z0-9]+/g`, as that will search for a literal `/` and `/g`.
5151
- For case-insensitivity, prefix your regex with `(?i)`.
52-
- If you're trying to use one of the popular regex "IDEs" like [regex101.com](https://regex101.com/), Golang is usually closest to how Sentry understands your regex.
52+
- If you're trying to use one of the popular regex "IDEs" like [regex101.com](https://regex101.com/) select the Rust dialect.
5353
- Escape using `\`, e.g. `\*` is a literal `*`. This works for any of the following characters: `\.+*?()|[]{}^$`.
5454

5555
- _Credit Card Numbers_: Any substrings that look like credit card numbers.

0 commit comments

Comments
 (0)