From 1f65ec494f2c880797dc916e376275bf74a6cc84 Mon Sep 17 00:00:00 2001 From: drmason13 Date: Mon, 22 Jul 2024 09:09:13 +0100 Subject: [PATCH] doc: correct span format example regex --- src/fmt/temporal/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmt/temporal/mod.rs b/src/fmt/temporal/mod.rs index 074acea..c60174f 100644 --- a/src/fmt/temporal/mod.rs +++ b/src/fmt/temporal/mod.rs @@ -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: