Tebeka Shorts: Golang Regex | Parsing Logs with Named Groups @ardanlabs
Tebeka Shorts: Golang Regex | Parsing Logs with Named Groups  @ardanlabs
Uploaded April 2026 | Updated November 2026, 3 days ago
Welcome to our Tebeka Shorts series, episode 54! A series of short videos surrounding features in the GO language taught by Miki Tebeka. -- In this video, Miki explains how to assign specific names to capture groups rather than relying on numerical positions. -- Watch now to learn a cleaner way to work with regular expressions in Go.

Things you will learn in this episode:
- The benefit of naming groups
- The syntax for naming
- Practical application
- Retrieving the matched data

By using a specialized syntax with angle brackets, developers can create named subexpressions that make code significantly more readable and less prone to error. This technique is particularly useful when parsing log lines, as it allows for direct access to data like timestamps via an index name. Ultimately, the source highlights how named groups simplify the process of extracting information from complex strings compared to traditional offset methods.

----

Comment below or tweet us on twitter & let us know your thoughts, we want to hear from you! ~ If you found this video helpful, hit that like button & subscribe for more content like this.

----

Access our online courses → ardanlabs.com/education

Attending a live training → ardanlabs.com/live-training-events

Other Links:
Website: ardanlabs.com
Github: github.com/ardanlabs
X: twitter.com/ardanlabs
LinkedIn: linkedin.com/ardanlabs

#golang #goprogramming #Regex #RegularExpressions #education #tutorials #tips #ProgrammingTips #ArdanLabs
Tebeka Shorts: Golang Regex | Parsing Logs with Named GroupsUltimate Go Software Design LIVE: Ep.72Rust for Agentic Development: Performance, Memory Safety, & Native SpeedDevice-Bound Access ControlThe Importance of Execution in Your CareerChoosing Priorities in a Career PathWhats a Kubernetes Development Environment & Why You Might Need OneThe Secret Sauce for AI InfrastructureThe Hidden Security Risk of AI Coding AgentsAI Isnt Taking Your Job, Its Evolving ItHardware-Backed Device-Bound SecurityEverything You Wanted to Ask About Rust
Ardan Labs |

Tebeka Shorts: Golang Regex | Parsing Logs with Named Groups

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER