MENU

Fun & Interesting

Regex in Rust | Rust Language

Learning Rust 141 4 months ago
Video Not Working? Fix It Now

Add regex to your Rust skills. In this video, I show how to use regex in Rust to solve a key part of the Advent of Code 2024 Day 3 challenge. We'll see how to efficiently handle regex matches, use `as_str()` and `to_string()` to manipulate data, and ignore unnecessary position data. 🔥 Key Topics Covered: - Solving the key aspect of an Advent of Code challenge with Rust - How to use the `regex` crate effectively - Understanding `as_str()` and `to_string()` in regex matches 🚀 Links and Resources: - Regex Tool: [Regex101](https://regex101.com/) - Rust Regex Crate: [Rust Regex on GitHub](https://github.com/rust-lang/regex) - Try Rust Code: [Rust Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a94664681664888018686a421933aa5d) ✨ **Subscribe for more Rust tutorials and leave a comment to let me know if you'd like more Advent of Code examples in Rust!** #RustLanguage #Regex #AdventOfCode2024 #LearningRust #CodingTutorial

Comment