Skip to content

Commit

Permalink
doc: correct span format example regex
Browse files Browse the repository at this point in the history
PR #49
  • Loading branch information
drmason13 authored Jul 26, 2024
1 parent 3c3b810 commit e300355
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 e300355

Please sign in to comment.