diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-11-06 10:19:53 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-11-06 12:49:04 -0500 |
| commit | c4fe78176334bcf23f0f3387cfcdf040a9316e61 (patch) | |
| tree | 682d3eef8fd77676dcfac043e16e20d6c2149041 /src/libregex/lib.rs | |
| parent | e84e7a00ddec76570bbaa9afea385d544f616814 (diff) | |
| download | rust-c4fe78176334bcf23f0f3387cfcdf040a9316e61.tar.gz rust-c4fe78176334bcf23f0f3387cfcdf040a9316e61.zip | |
link to raw string docs in libregex docs
Fixes #17023
Diffstat (limited to 'src/libregex/lib.rs')
| -rw-r--r-- | src/libregex/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libregex/lib.rs b/src/libregex/lib.rs index f3633a006b1..b849afbbf54 100644 --- a/src/libregex/lib.rs +++ b/src/libregex/lib.rs @@ -41,7 +41,8 @@ //! it to match anywhere in the text. Anchors can be used to ensure that the //! full text matches an expression. //! -//! This example also demonstrates the utility of raw strings in Rust, which +//! This example also demonstrates the utility of [raw +//! strings](../reference.html#character-and-string-literals) in Rust, which //! are just like regular strings except they are prefixed with an `r` and do //! not process any escape sequences. For example, `"\\d"` is the same //! expression as `r"\d"`. |
