Function regex::expand::find_cap_ref[][src]

fn find_cap_ref<T: ?Sized + AsRef<[u8]>>(replacement: &T) -> Option<CaptureRef>

Parses a possible reference to a capture group name in the given text, starting at the beginning of replacement.

If no such valid reference could be found, None is returned.