Skip to content

Commit

Permalink
Move the meta -> str functions out of cert_id class.
Browse files Browse the repository at this point in the history
  • Loading branch information
J08nY committed Feb 5, 2024
1 parent 9ad30df commit 8361397
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 230 deletions.
2 changes: 1 addition & 1 deletion src/sec_certs/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#####
cc_cert_id:
DE:
- "BSI-DSZ-CC-(?:(?P<s>S)-)?(?P<counter>[0-9]{3,5})-(?:(?P<version>[vV][0-9])-)?(?P<year>[0-9]{4})?(?:-(?P<doc>(?:RA|MA)(?:-[0-9]+)?))?"
- "BSI-DSZ-CC-(?:(?P<s>S)-)?(?P<counter>[0-9]{3,5})-?(?:(?P<version>[vV][0-9])-)?(?P<year>[0-9]{4})?(?:-(?P<doc>(?:RA|MA)(?:-[0-9]+)?))?"
# Examples:
# BSI-DSZ-CC-1004
# BSI-DSZ-CC-0973-2016
Expand Down
Loading

0 comments on commit 8361397

Please sign in to comment.