Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
j-lanson committed Sep 18, 2024
1 parent aa16183 commit 73fe2f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hipcheck/src/policy_exprs/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ pub enum Token {
#[regex(r"[0-9]{3,4}[^\s\)]+", lex_datetime)]
DateTime(Box<Zoned>),

// In the future this regex *could* be made more specific to reduce collision
// with Ident, or we could introduce a special prefix character like '@' or '#'
#[regex(r"P[a-zA-Z0-9]+", lex_span)]
Span(Box<Span>),

Expand Down

0 comments on commit 73fe2f7

Please sign in to comment.