Mastering Python Regular Expressions
D**R
Deep dive into Regular Expressions in Python.
A great, concise and thorough book on using Regex in Python. Excellent, thoroughly recommended.
D**H
A concise book that explains the theory of regular expressions and their implementation in Python.
I was looking for a book that explained regular expression after coming across some code snippets that used regular expressions to identify the number of pages in a PDF. Whilst I was familiar with the concept of regular expressions, I had little knowledge of how they worked. This book more than filled that gap in my knowledge and did it in a very concise manner.The book begins with a language independent look at the history and theory of regular expression. It then moves on to using regular expression in Python starting with looking at how strings work in Python, then moving onto look at how to build regular expressions using the re module. The section I found most relevant was how to extract information from a pattern - as I came to learn this is how the code snippet mentioned above worked. After this in depth look at using regular expression in Python, the book takes a brief look at grouping and look around and how to use them before finally looking at techniques for optimising performance of regular expressions and the potential pitfalls.This book covered the topic well and I found the book easy to read and follow through. It provided me with all I need to know about regular expression in python and, from what I've seen so far, the concepts are easily transferable to other languages. I also discovered several uses for regular expressions I was not aware of such as being able to split by the appearance of a particular character - something I assume excel does when importing files separated by a tab or comma. Excellent book!
P**T
Très bien
Dans ces 90 pages, pas de blabla inutile, ce livre se distingue des pavés indigestes et va droit au but et c'est mieux parce que le sujet n'est pas des plus simples (on croit avoir compris mais il y a toujours un détail qui vient tout fausser !) ; j'ai relevé une ou deux coquilles, mais rien de méchant.Au final, ce livre est une bonne approche pour ensuite aborder plus compliqué.On peut tout de même regretter que dans le domaine de l'informatique (de la photo, de la vidéo et du cinéma !), il faille se diriger vers des bouquins écrits outre-Atlantique ou en Inde, ou qu'on ne les traduise pas ; et si on a l'avantage, au bout de X années, de pouvoir lire couramment l'anglais, rien ne remplace une langue maternelle.
D**C
Great Reference Book
I used this book to learn and master regular expressions in Python. It is easy to follow and if you study each chapter carefully you will master regular expressions. It starts out with a brief overview of regex and then transitions to specific application of regex in python. Also great to have as a desk reference.
A**O
Tanto vale andare su python dot org...
Poco di più e spesso di meno di quel che si trova nella documentazione ufficiale sulla libreria re on line. Solo scritta peggio. Ne vale la pena se, e solamente se, siete degli aficionados della carta stampata.
J**N
Great and simple book!
It's a really well written book, with tons of examples to allow you understand from the basics to the most advanced features. I'm starting to leverage regular expressions thanks to this book, quite recommended.
U**M
It's a good book. There are two problems nonetheless:
It's a good book. There are two problems nonetheless:1- On multiple occasions the authors get ahead of themselves and use syntax or mention topics that have not yet been covered. They sometimes are aware of this and tell the reader to wait for the upcoming chapters, but there are also instances where they simply use them without any further explanation. I think this issue would be resolved if they simply rearrange the order of the chapters.2- Some of the topics in the books are not explained sufficiently. Be it these are usually topics associated with some of the peculiarities of Python's regex flavor, but when you read these sections you feel that there is still some parts that need to be clarified. Hopefully there aren't many of these instances and usually a simple Googling would suffice to understand them.In general it's a very good book. It gives a clear picture of Python's regex interface and "re" module. At the end you will learn how to use regular expressions in Python, but to master them you probably need experience coupled with possibly reading a few more advanced books.
Trustpilot
4 days ago
3 days ago