Regular Expression in Python | Regex in Python | Python tutorial

preview_player
Показать описание
Regular expressions (called REs, or regexes, or regex patterns) are essentially a very important part and highly specialized programming language embedded inside Python and made available through the re module. Using this little language, user can specify the rules for the set of possible strings that you want to match. Python regular expression helps to build complex search mechanism, coding logic etc.

Regular expression patterns are compiled into a series of bytecodes which are then executed by a matching engine written in C. For advanced use, it may be necessary to pay careful attention to how the engine will execute a given RE, and write the RE in a certain way in order to produce bytecode that runs faster. Optimization isn’t covered in this document, because it requires that you have a good understanding of the matching engine’s internals.

#regex #python #regularexpression ************************************************************************
Did you enjoy the video? If so, give it a like above!

Subscribe to our channel for more techie video
Keep Learning!! Keep Growing!!

P.S. Make sure to keep up with us by clicking the bell!
Рекомендации по теме
Комментарии
Автор

Never seen this type of explanation. Beautiful presented logic of regular expression and crisp, clear example in python

dandeck
Автор

Regular expression is not an easy topic but explanation here is very clear with strong example

mrunalipatil
welcome to shbcf.ru