Mastering Python regular expressions : leverage regular expressions in Python even for the most complex features /

López, Félix.

Mastering Python regular expressions : leverage regular expressions in Python even for the most complex features / Félix López, Víctor Romero. - Birmingham, UK : Packt Pub., 2014. - 1 online resource (1 volume) : illustrations. - Community experience distilled . - Community experience distilled. .

Includes index.

Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing Regular Expressions; History, relevance, and purpose; The regular expression syntax; Literals; Character classes; Predefined character classes; Alternation; Quantifiers; Greedy and reluctant quantifiers; Boundary Matchers; Summary; Chapter 2: Regular Expressions with Python; A brief introduction; Backslash in string literals; String Python 2.x; Building blocks for Python regex; RegexObject; Searching; Modifying a string; MatchObject; group([group1, ...]) Overlapping groupsSummary; Chapter 4: Look Around; Look ahead; Negative look ahead; Look around and substitutions; Look behind; Negative look behind; Look around and groups; Summary; Chapter 5: Performance of Regular Expressions; Benchmarking regular expressions with Python; The RegexBuddy tool; Understanding the Python regex engine; Backtracking; Optimization recommendations; Reuse compiled patterns; Extract common parts in alternation; Shortcut to alternation; Use non-capturing groups when appropriate; Be specific; Don't be greedy; Summary; Index

A short and straight to the point guide that explains the implementation of Regular Expressions in Python. This book is aimed at Python developers who want to learn how to leverage Regular Expressions in Python. Basic knowledge of Python is required for a better understanding.

9781783283163 (electronic bk.) 1783283165 (electronic bk.)

CL0500000403 Safari Books Online C9BBB58E-47CC-4B5F-B1A6-591FCE91D14F OverDrive, Inc. http://www.overdrive.com


Python (Computer program language)
Text processing (Computer science)
Word processing.
Word processing operations.
Python (Langage de programmation)
Traitement de texte.
COMPUTERS--Programming Languages--Python.
Python (Computer program language)
Text processing (Computer science)


Electronic books.
Electronic books.

QA76.73.P98

005.133

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library