From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001 From: Date: Mon, 29 Jun 2015 20:16:15 +0000 Subject: Update documentation --- regex/struct.NoExpand.html | 110 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 regex/struct.NoExpand.html (limited to 'regex/struct.NoExpand.html') diff --git a/regex/struct.NoExpand.html b/regex/struct.NoExpand.html new file mode 100644 index 0000000..755c106 --- /dev/null +++ b/regex/struct.NoExpand.html @@ -0,0 +1,110 @@ + + + + + + + + + + regex::NoExpand - Rust + + + + + + + + + + + + + + + +
+

Struct regex::NoExpand + + [] + + [src]

+
pub struct NoExpand<'t>(pub &'t str);

NoExpand indicates literal string replacement.

+ +

It can be used with replace and replace_all to do a literal +string replacement without expanding $name to their corresponding +capture groups.

+ +

'r is the lifetime of the literal text.

+

Trait Implementations

impl<'t> Replacer for NoExpand<'t>

fn reg_replace<'a>(&'a mut self, _: &Captures) -> Cow<'a, str>

+

fn no_expand<'a>(&'a mut self) -> Option<Cow<'a, str>>

+
+ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3