File tree 4 files changed +7
-0
lines changed
4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2063,6 +2063,7 @@ impl<'h, 'n> core::ops::Index<&'n str> for Captures<'h> {
2063
2063
/// This example shows how to create and use `CaptureLocations` in a search.
2064
2064
///
2065
2065
/// ```
2066
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
2066
2067
/// use regex_lite::Regex;
2067
2068
///
2068
2069
/// let re = Regex::new(r"(?<first>\w+)\s+(?<last>\w+)").unwrap();
Original file line number Diff line number Diff line change @@ -679,6 +679,7 @@ pub(crate) mod string {
679
679
/// # Example
680
680
///
681
681
/// ```
682
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
682
683
/// use regex::RegexBuilder;
683
684
///
684
685
/// // It may surprise you how big some seemingly small patterns can
@@ -1246,6 +1247,7 @@ pub(crate) mod string {
1246
1247
/// # Example
1247
1248
///
1248
1249
/// ```
1250
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
1249
1251
/// use regex::RegexSetBuilder;
1250
1252
///
1251
1253
/// // It may surprise you how big some seemingly small patterns can
@@ -1856,6 +1858,7 @@ pub(crate) mod bytes {
1856
1858
/// # Example
1857
1859
///
1858
1860
/// ```
1861
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
1859
1862
/// use regex::bytes::RegexBuilder;
1860
1863
///
1861
1864
/// // It may surprise you how big some seemingly small patterns can
@@ -2428,6 +2431,7 @@ pub(crate) mod bytes {
2428
2431
/// # Example
2429
2432
///
2430
2433
/// ```
2434
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
2431
2435
/// use regex::bytes::RegexSetBuilder;
2432
2436
///
2433
2437
/// // It may surprise you how big some seemingly small patterns can
Original file line number Diff line number Diff line change @@ -2025,6 +2025,7 @@ impl<'h, 'n> core::ops::Index<&'n str> for Captures<'h> {
2025
2025
/// This example shows how to create and use `CaptureLocations` in a search.
2026
2026
///
2027
2027
/// ```
2028
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
2028
2029
/// use regex::bytes::Regex;
2029
2030
///
2030
2031
/// let re = Regex::new(r"(?<first>\w+)\s+(?<last>\w+)").unwrap();
Original file line number Diff line number Diff line change @@ -2028,6 +2028,7 @@ impl<'h, 'n> core::ops::Index<&'n str> for Captures<'h> {
2028
2028
/// This example shows how to create and use `CaptureLocations` in a search.
2029
2029
///
2030
2030
/// ```
2031
+ /// # if !cfg!(target_pointer_width = "64") { return; } // see #1041
2031
2032
/// use regex::Regex;
2032
2033
///
2033
2034
/// let re = Regex::new(r"(?<first>\w+)\s+(?<last>\w+)").unwrap();
You can’t perform that action at this time.
0 commit comments