Skip to content

Commit

Permalink
doc: correct span format example regex
Browse files Browse the repository at this point in the history
  • Loading branch information
drmason13 committed Jul 22, 2024
1 parent 31c766a commit 1f65ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmt/temporal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ To a first approximation, the span format supported roughly corresponds to this
regular expression:
```text
P(\d+y)?(\d+m)?(\d+w)?(\d+d)?(T(\d+h)?(\d+m)?(\d+d)?)?
P(\d+y)?(\d+m)?(\d+w)?(\d+d)?(T(\d+h)?(\d+m)?(\d+s)?)?
```
But there are some details not easily captured by a simple regular expression:
Expand Down

0 comments on commit 1f65ec4

Please sign in to comment.