diff options
author | Elliott Hughes <enh@google.com> | 2021-04-12 22:18:12 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-12 22:18:12 +0000 |
commit | 36d9b48fbea715f0665ae5da83d976ef53327880 (patch) | |
tree | c9777920ca2210c635d86dca9d0820c953448f73 | |
parent | c96221cbbe04d2bc031b9518698c7c2c10e167a2 (diff) | |
parent | fa99334dedfb7d478e7dedd813a3e2859f789845 (diff) | |
download | regex-syntax-36d9b48fbea715f0665ae5da83d976ef53327880.tar.gz |
Upgrade rust/crates/regex-syntax to 0.6.23 am: 6f928bfd50 am: fa99334ded
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/regex-syntax/+/1663040
Change-Id: I5c37b4d6b95e38818d970f4189a6e7ef14d8187f
-rw-r--r-- | .cargo_vcs_info.json | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | Cargo.toml.orig | 2 | ||||
-rw-r--r-- | METADATA | 8 | ||||
-rw-r--r-- | TEST_MAPPING | 6 | ||||
-rw-r--r-- | src/lib.rs | 4 | ||||
-rw-r--r-- | src/unicode.rs | 2 | ||||
-rw-r--r-- | src/utf8.rs | 12 |
8 files changed, 19 insertions, 19 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json index c70aafb..b83ed4c 100644 --- a/.cargo_vcs_info.json +++ b/.cargo_vcs_info.json @@ -1,5 +1,5 @@ { "git": { - "sha1": "d27882cbd870cf867975a10ce019c05e86016372" + "sha1": "5a3570163b7e998b62ee9315522c37465b3cd12b" } } @@ -12,7 +12,7 @@ [package] name = "regex-syntax" -version = "0.6.22" +version = "0.6.23" authors = ["The Rust Project Developers"] description = "A regular expression parser." homepage = "https://github.com/rust-lang/regex" diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 765eb37..8461178 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,6 +1,6 @@ [package] name = "regex-syntax" -version = "0.6.22" #:version +version = "0.6.23" #:version authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang/regex" @@ -7,13 +7,13 @@ third_party { } url { type: ARCHIVE - value: "https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.22.crate" + value: "https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.23.crate" } - version: "0.6.22" + version: "0.6.23" license_type: NOTICE last_upgrade_date { year: 2021 - month: 1 - day: 8 + month: 4 + day: 1 } } diff --git a/TEST_MAPPING b/TEST_MAPPING index 28d44c6..695cd9b 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -2,16 +2,16 @@ { "presubmit": [ { - "name": "keystore2_test" + "name": "regex-syntax_device_test_src_lib" }, { - "name": "regex-syntax_device_test_src_lib" + "name": "libsqlite3-sys_device_test_src_lib" }, { "name": "vpnprofilestore_test" }, { - "name": "libsqlite3-sys_device_test_src_lib" + "name": "keystore2_test" } ] } @@ -216,7 +216,7 @@ pub fn is_meta_character(c: char) -> bool { /// character. /// /// A Unicode word character is defined by -/// [UTS#18 Annex C](http://unicode.org/reports/tr18/#Compatibility_Properties). +/// [UTS#18 Annex C](https://unicode.org/reports/tr18/#Compatibility_Properties). /// In particular, a character /// is considered a word character if it is in either of the `Alphabetic` or /// `Join_Control` properties, or is in one of the `Decimal_Number`, `Mark` @@ -236,7 +236,7 @@ pub fn is_word_character(c: char) -> bool { /// character. /// /// A Unicode word character is defined by -/// [UTS#18 Annex C](http://unicode.org/reports/tr18/#Compatibility_Properties). +/// [UTS#18 Annex C](https://unicode.org/reports/tr18/#Compatibility_Properties). /// In particular, a character /// is considered a word character if it is in either of the `Alphabetic` or /// `Join_Control` properties, or is in one of the `Decimal_Number`, `Mark` diff --git a/src/unicode.rs b/src/unicode.rs index a78362b..73df698 100644 --- a/src/unicode.rs +++ b/src/unicode.rs @@ -823,7 +823,7 @@ fn symbolic_name_normalize(x: &str) -> String { /// The slice returned is guaranteed to be valid UTF-8 for all possible values /// of `slice`. /// -/// See: http://unicode.org/reports/tr44/#UAX44-LM3 +/// See: https://unicode.org/reports/tr44/#UAX44-LM3 fn symbolic_name_normalize_bytes(slice: &mut [u8]) -> &mut [u8] { // I couldn't find a place in the standard that specified that property // names/aliases had a particular structure (unlike character names), but diff --git a/src/utf8.rs b/src/utf8.rs index 89862af..947ba7c 100644 --- a/src/utf8.rs +++ b/src/utf8.rs @@ -15,7 +15,7 @@ whether a particular byte sequence was a Cyrillic character. One possible scalar value range is `[0400-04FF]`. The set of allowed bytes for this range can be expressed as a sequence of byte ranges: -```ignore +```text [D0-D3][80-BF] ``` @@ -32,7 +32,7 @@ for example, `04FF` (because its last byte, `BF` isn't in the range `80-AF`). Instead, you need multiple sequences of byte ranges: -```ignore +```text [D0-D3][80-BF] # matches codepoints 0400-04FF [D4][80-AF] # matches codepoints 0500-052F ``` @@ -41,7 +41,7 @@ This gets even more complicated if you want bigger ranges, particularly if they naively contain surrogate codepoints. For example, the sequence of byte ranges for the basic multilingual plane (`[0000-FFFF]`) look like this: -```ignore +```text [0-7F] [C2-DF][80-BF] [E0][A0-BF][80-BF] @@ -55,7 +55,7 @@ UTF-8, including encodings of surrogate codepoints. And, of course, for all of Unicode (`[000000-10FFFF]`): -```ignore +```text [0-7F] [C2-DF][80-BF] [E0][A0-BF][80-BF] @@ -157,13 +157,13 @@ impl Utf8Sequence { /// /// For example, if this corresponds to the following sequence: /// - /// ```ignore + /// ```text /// [D0-D3][80-BF] /// ``` /// /// Then after reversal, it will be /// - /// ```ignore + /// ```text /// [80-BF][D0-D3] /// ``` /// |