Skip to content

Commit

Permalink
Bug fix #34
Browse files Browse the repository at this point in the history
  • Loading branch information
SummerGram committed Mar 3, 2024
1 parent e522377 commit 251a1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/regexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub mod request_items {

static BODY_VALUE_REGEX: OnceLock<Regex> = OnceLock::new();
pub fn body_value() -> &'static Regex {
BODY_VALUE_REGEX.get_or_init(|| Regex::new(r"^(?<key>[ -~]*[^:=])=(?<value>[ -~]+)$").unwrap())
BODY_VALUE_REGEX.get_or_init(|| Regex::new(r"^(?<key>[ -~]*[^:])=(?<value>[ -~]+)$").unwrap())
}

static NESTED_BODY_KEYS_REGEX: OnceLock<Regex> = OnceLock::new();
Expand Down

0 comments on commit 251a1a7

Please sign in to comment.