
Sign up to save your podcasts
Or
In this tech segment we're going to talk about regular expressions in python. We're going to be using perl-style regular expressions, which is usually referenced as "PCRE". PCRE is used in many places outside of Python, such as snort and other IDS signatures, and most places you see regular expressions, it will be PCRE. Regex is a language, but it's far more restricted than a normal programming language.
If you need to perform any complex string search and replace, you're probably going to use regular expressions. As the famous saying goes,
So I'm going to teach you how to create some problems for yourself.
I'm going to put the testing strings in the show notes. If you want to play along, you don't need to install python, we're going to use pythex, an online regular expressions tester. I think this is the best way to demonstrate regular expressions without getting too bogged down in the context of code.
4.4
206206 ratings
In this tech segment we're going to talk about regular expressions in python. We're going to be using perl-style regular expressions, which is usually referenced as "PCRE". PCRE is used in many places outside of Python, such as snort and other IDS signatures, and most places you see regular expressions, it will be PCRE. Regex is a language, but it's far more restricted than a normal programming language.
If you need to perform any complex string search and replace, you're probably going to use regular expressions. As the famous saying goes,
So I'm going to teach you how to create some problems for yourself.
I'm going to put the testing strings in the show notes. If you want to play along, you don't need to install python, we're going to use pythex, an online regular expressions tester. I think this is the best way to demonstrate regular expressions without getting too bogged down in the context of code.
1,981 Listeners
364 Listeners
639 Listeners
370 Listeners
182 Listeners
1,013 Listeners
314 Listeners
408 Listeners
7,921 Listeners
163 Listeners
190 Listeners
311 Listeners
76 Listeners
128 Listeners
43 Listeners