- Rust Standard Library Cookbook
- Jan Nils Ferner Daniel Durante
- 70字
- 2021-08-27 19:45:05
Getting ready
In order to really understand this chapter, you should be familiar with regexes. There are countless free online resources for this, like regexone (https://www.regexone.com/).
This recipe will not conform to clippy, as we kept the regexes intentionally too simple because we want to keep the focus of the recipe on the code, not the regex. Some of the examples shown could have been rewritten to use .contains() instead.