You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you explain more about what you're looking for? replace_all says "See the documentation for replace for details on how to access submatches in the replacement string." The documentation for replace has an example using a closure with captures.
This crate's documentation provides some simple examples, describes Unicode support and exhaustively lists the supported syntax. For more specific details on the API, please see the documentation for the Regex type.
I noticed that there is no documentation for using replace_all with a closure. This may be related to a bug in rustdoc: rust-lang/rust#29503
The text was updated successfully, but these errors were encountered: