Skip to content

Commit fcf5e31

Browse files
Merge pull request #260040 from heyams/heya/fix-regex
Use a shorter regex
2 parents 773c072 + 915d73d commit fcf5e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/app/java-standalone-telemetry-processors-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ Let's assume the input log message body is `User account with userId 123456xx fa
534534
"body": {
535535
"toAttributes": {
536536
"rules": [
537-
"^User account with userId (?<redactedUserId>[\\da-zA-Z]+)[\\w\\s]+"
537+
"userId (?<redactedUserId>[\\da-zA-Z]+)"
538538
]
539539
}
540540
}

0 commit comments

Comments
 (0)