Regular Expression Recipes
A Problem-Solution Approach - Regular expression solutions for PGP, Perl, Python, grep, and more!
Nathan A. Good - Collection The Expert's Voice in Open Source
Résumé
As an application developer or Web developer, no doubt you've done some pretty heavy string manipulating or searching at some point in your career. You may have written hundreds of lines of code to search for characters and make replacements.
Does an easier way exist? Yes. Enter regular expressions, a concise and powerful way of searching and replacing strings. "Ah, but I've heard of regular expressions," you say. "They're for magic folk and code wizards."
Not so. Regular expressions aren't as mystical as they look, and the focus of this book is to provide you with all the regular expressions you could ever need, ready to plug in and go. I also break the code down and explain it character by character, allowing you to learn by example.
This book includes 100 recipes demonstrated in complete examples written in Perl, PHP, Python, grep, sed, and Vim. These recipes are ready for you to use in your applications-whether it be validating a U.S. postal code (recipe 4-18), searching for words within code comments (recipe 6-9), or finding bad CSV records in a file (recipe 3-1).
If you're a developer, or if you use the command line or Vim and don't enjoy struggling with regular expressions, this book is for you. You'll get the recipes you need, generate ideas for new strings, gain a complete understanding of how to build regular expressions, and save tons of time along the way!
L'auteur - Nathan A. Good
Nathan A. Good is a software engineer, author, and all-around computer nerd living in the Twin Cities area in Minnesota. His computer expertise can best be described as “jack of all trades, master of none.” He has been administering and using Red Hat Linux boxes since RH 5, and has used many other distributions as well. He has also administered Sun, HP-UX, and AIX servers, and Windows servers and PCs. Nathan has done programming in Java, Perl, PHP, C, C# and ASP.NET, and Bash shell scripting. He’s also worked with Delphi, but he doesn’t tell anyone.
Sommaire
- Words and Text
- URLs and Paths
- CSV and Tab-Delimited Files
- Formatting and Validating
- HTML and XML
- Coding and Using Commands
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Nathan A. Good |
Collection | The Expert's Voice in Open Source |
Parution | 14/01/2005 |
Nb. de pages | 289 |
Format | 17,5 x 23,5 |
Couverture | Broché |
Poids | 611g |
Intérieur | Noir et Blanc |
EAN13 | 9781590594414 |
ISBN13 | 978-1-59059-441-4 |
Avantages Eyrolles.com
Nos clients ont également acheté
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse