-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
James Brundage
authored and
James Brundage
committed
Sep 22, 2024
1 parent
9baa516
commit 7321e54
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Matches Unredacted Social Security Numbers | ||
(?<=(^|\D)) # Match after line start or a non-digit, so that random dashed numbers don't match. | ||
(?<AreaNumber>\d{3,3}) # 3 Digit Area Number (if allocated after 2011 no longer reflects area) | ||
\-(?<GroupNumber>\d{2,2}) # 2 Digit Group Number | ||
\-(?<SerialNumber>\d{4,4}) # 4 Digit Serial Number | ||
(?<=(?:^| | ||
\D)) # Match after line start or a non-digit, so that random dashed numbers don't match. | ||
(?<AreaNumber>\d){3,3} # 3 Digit Area Number (if allocated after 2011 no longer reflects area) | ||
\-(?<GroupNumber>\d){2,2} # 2 Digit Group Number | ||
\-(?<SerialNumber>\d){4,4} # 4 Digit Serial Number | ||
|