This chapter is dedicated to learning regular expressions basics. Python provides native ways to process and dissect strings of text but requires many lines of code to locate the exact string. Although Python provides powerful string indexing methods, in real life you will face challenges each time you need to handle a large string. I find it fascinating that no other Python network automation books genuinely emphasize the importance of data wrangling (or massaging) with regular expressions. Many books sweep regular expressions under the rug as it is ...
© Brendan Choi 2021
B. ChoiIntroduction to Python Network Automationhttps://doi.org/10.1007/978-1-4842-6806-3_99. Regular Expressions for Network Automation
Brendan Choi1
(1)
Sydney, NSW, Australia
Get Introduction to Python Network Automation: The First Journey now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.