Allow hex characters in unicode code points
This commit is contained in:
parent
bc5e71bcc2
commit
8c845f29e0
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ use std::i32;
|
|||
|
||||
lazy_static! {
|
||||
static ref CURLY_BRACE_REGEX: Regex =
|
||||
Regex::new(r#"(^|[^\\])\{([^}]*[^0-9,}][^}]*)\}"#).unwrap();
|
||||
Regex::new(r#"(^|[^\\])\{([^}]*[^0-9A-F,}][^}]*)\}"#).unwrap();
|
||||
}
|
||||
|
||||
const ALLOWED_REDUNDANT_ESCAPED_CHARS: [char; 4] = ['!', '\'', '"', '/'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue