• Home
  • Raw
  • Download

Lines Matching +full:rust +full:- +full:lang

1 // See: https://github.com/rust-lang/regex/issues/48
10 // See: https://github.com/rust-lang/regex/issues/98
17 // See: https://github.com/rust-lang/regex/issues/555
23 // See: https://github.com/rust-lang/regex/issues/527
29 // See: https://github.com/rust-lang/regex/issues/75
30 mat!(regression_unsorted_binary_search_1, r"(?i-u)[a_]+", "A_", Some((0, 2)));
31 mat!(regression_unsorted_binary_search_2, r"(?i-u)[A_]+", "a_", Some((0, 2)));
33 // See: https://github.com/rust-lang/regex/issues/99
34 #[cfg(feature = "unicode-case")]
36 #[cfg(feature = "unicode-case")]
39 // See: https://github.com/rust-lang/regex/issues/101
42 // See: https://github.com/rust-lang/regex/issues/129
45 let re = regex!(r"([a-f]){2}(?P<foo>[x-z])"); in regression_captures_rep()
50 // See: https://github.com/rust-lang/regex/issues/153
54 // See: https://github.com/rust-lang/regex/issues/169
57 // See: https://github.com/rust-lang/regex/issues/76
58 #[cfg(all(feature = "unicode-case", feature = "unicode-gencat"))]
61 // See: https://github.com/rust-lang/regex/issues/191
67 mat!(anchored_prefix3, r"^-[a-z]", "r-f", None);
69 // See: https://github.com/rust-lang/regex/issues/204
70 #[cfg(feature = "unicode-perl")]
85 #[cfg(feature = "unicode-perl")]
98 // See: https://github.com/rust-lang/regex/issues/268
101 // See: https://github.com/rust-lang/regex/issues/280
105 // See: https://github.com/rust-lang/regex/issues/289
108 // See: https://github.com/rust-lang/regex/issues/291
111 r"((IMG|CAM|MG|MB2)_|(DSCN|CIMG))(?P<n>[0-9]+)$",
120 // See: https://github.com/rust-lang/regex/issues/271
121 mat!(endl_or_wb, r"(?m:$)|(?-u:\b)", "\u{6084e}", Some((4, 4)));
122 mat!(zero_or_end, r"(?i-u:\x00)|$", "\u{e682f}", Some((4, 4)));
123 mat!(y_or_endl, r"(?i-u:y)|(?m:$)", "\u{b4331}", Some((4, 4)));
124 #[cfg(feature = "unicode-perl")]
125 mat!(wb_start_x, r"(?u:\b)^(?-u:X)", "X", Some((0, 1)));
127 // See: https://github.com/rust-lang/regex/issues/321
132 ismatch!(reverse_suffix1, r"[0-4][0-4][0-4]000", "153.230000", true);
133 ismatch!(reverse_suffix2, r"[0-9][0-9][0-9]000", "153.230000\n", true);
134 matiter!(reverse_suffix3, r"[0-9][0-9][0-9]000", "153.230000\n", (4, 10));
136 // See: https://github.com/rust-lang/regex/issues/334
137 // See: https://github.com/rust-lang/regex/issues/557
156 // See: https://github.com/rust-lang/regex/issues/437
159 r"typename type\-parameter\-[0-9]+\-[0-9]+::.+",
164 // See: https://github.com/rust-lang/regex/issues/533
183 // Tests that our Aho-Corasick optimization works correctly. It only
185 // leftmost-first match semantics are properly respected. That is, samwise
197 #[cfg(feature = "unicode-perl")]
203 // See: https://github.com/rust-lang/regex/issues/640
204 #[cfg(feature = "unicode-case")]
214 // See: https://github.com/rust-lang/regex/issues/659
221 // See: https://github.com/rust-lang/regex/issues/862