Mastering Python Regular Expressions

Mastering Python Regular Expressions

AUTHOR: Felix Lopez; Victor Romero

PUBLISHER: Packt

PAGES: 110

ISBN-10: 1783283157; ISBN-13: 978-1783283156

Leverage regular expressions in Python even for the most complex features

About This Book
* Explore the workings of Regular Expressions in Python
* Learn all about optimizing regular expressions using RegexBuddy
* Full of practical and step-by-step examples, tips for performance, and solutions for performance-related problems faced by users all over the world

Who This Book Is For
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.

What You Will Learn
* Explore the regular expressions syntax
* Improve the readability and future maintenance of the regex
* Find solutions for typical problems with regular expressions
* Familiarize yourself with match and search operations
* Leverage the look around technique to create powerful regular expressions
* Gain insight on the uses of Groups
* Get to know how the regex engine works through the Backtracking process
* Enhance the performance of your regular expressions

In Detail
Regular expressions are used by many text editors, utilities, and programming languages to search and manipulate text based on patterns. They are considered the Swiss army knife of text processing. Powerful search, replacement, extraction and validation of strings, repetitive and complex tasks are reduced to a simple pattern using regular expressions.

Mastering Python Regular Expressions will teach you about Regular Expressions, starting from the basics, irrespective of the language being used, and then it will show you how to use them in Python. You will learn the finer details of what Python supports and how to do it, and the differences between Python 2.x and Python 3.x.

The book starts with a general review of the theory behind the regular expressions to follow with an overview of the Python regex module implementation, and then moves on to advanced topics like grouping, looking around, and performance.

You will explore how to leverage Regular Expressions in Python, some advanced aspects of Regular Expressions and also how to measure and improve their performance. You will get a better understanding of the working of alternators and quantifiers. Also, you will comprehend the importance of grouping before finally moving on to performance optimization techniques like the RegexBuddy Tool and Backtracking.

Mastering Python Regular Expressions provides all the information essential for a better understanding of Regular Expressions in Python.

Disclaimer

Programming books display here are property of respective owners. All information about the book published in this website is in good faith and for general information purpose only.

Please support author by buying hardcopy to the nearest book store in your place or order books in publisher websites.

HRMS & Payroll Web Application

Generate Employee's Annual Income Tax Return (ITR)

Preparation of Annual Income Tax Return for all employee's BIR Form 2316 in manual process are so complicated and can caused a human errors in also take a lot of time to finished. read more »

Generate Timesheet from Daily Time Records (using finger scanner In/Out)

Using DTR Biometric Finger Scanner application system time-in/time-out we create module process to generate Timesheet for every employee. Before generating employee timesheet cut-off date make it sure that all pending approval of leave & overtime covered on that payroll cut-off date that filed by the employee’s should be approved by designated department. The report monitoring status of Leave & Overtime will help you to identify head department with pending approval to prompt them to approve. read more »

DTR Biometric Finger Scanner Time-In/Time-Out

Digital Persona U.are.U 4500 Finger Print Reader is my Software Development Kit (SDK) used in development of Daily Time Records (DTR) Attendance System which is designed to captures the time-in / time-out logs for every employee's and also we embed text to speech features... need speaker to prompt the user what is going on. Most of company today are now using Biometric fingerprint authentication to be used in time attendance that accurately and timely tracked for management reporting and also for accounting payroll processing. read more »

Government Deduction Table

The employer is required to deduct mandatory monthly contribution of SSS, PhilHealth, HDMF and tax withheld for salary above minimum wage in every pay day. Here are the list of data table provided by the government agency that used in Pinoy Web Application payroll processing. read more »

How to Compute Salary in Monthly Basis

Frequently company job advertisement is publicizing monthly pay for a position needed instead of time-based rate. Sometimes, you may be more interested on the daily rate compensation because it's easy to know how much rate per hour. read more »