or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
31 used & new from $16.01

Have one to sell? Sell yours here
 
   
Java Regular Expressions: Taming the java.util.regex Engine
 
 

Java Regular Expressions: Taming the java.util.regex Engine (Paperback)

~ Mehran Habibi (Author)
Key Phrases: string hello, string buffer, reluctant qualifiers, James Bond, Object Model, Practical Examples (more...)
3.9 out of 5 stars  See all reviews (15 customer reviews)

List Price: $39.99
Price: $32.57 & this item ships for FREE with Super Saver Shipping. Details
You Save: $7.42 (19%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 17? Choose One-Day Shipping at checkout. Details
22 new from $16.01 9 used from $16.01

Formats

Amazon Price New from Used from
  Kindle Edition, September 18, 2008 $26.06 -- --
  Paperback, October 28, 2003 $32.57 $16.01 $16.01

Frequently Bought Together

Java Regular Expressions: Taming the java.util.regex Engine + Mastering Regular Expressions + Regular Expression Pocket Reference (Pocket Reference (O'Reilly))
Price For All Three: $72.45

Show availability and shipping details

  • This item: Java Regular Expressions: Taming the java.util.regex Engine by Mehran Habibi

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Mastering Regular Expressions by Jeffrey E F Friedl

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Regular Expression Pocket Reference (Pocket Reference (O'Reilly)) by Tony Stubblebine

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Effective Java (2nd Edition)

Effective Java (2nd Edition)

by Joshua Bloch
4.9 out of 5 stars (36)  $35.47
Java Concurrency in Practice

Java Concurrency in Practice

by Brian Goetz
4.8 out of 5 stars (60)  $37.79
Regular Expressions Cookbook

Regular Expressions Cookbook

by Jan Goyvaerts
4.8 out of 5 stars (18)  $29.70
Clean Code: A Handbook of Agile Software Craftsmanship

Clean Code: A Handbook of Agile Software Craftsmanship

by Dean Wampler
4.4 out of 5 stars (45)  $30.96
Maven: The Definitive Guide

Maven: The Definitive Guide

by Sonatype Company
3.9 out of 5 stars (7)  $23.09
Explore similar items

Editorial Reviews

Product Description

<p>Java has always been an excellent language for working with objects. But Java's text manipulation mechanisms have always been limited, compared to languages like AWK and Perl. On the flip side, a new regular expressions package in Java 2 Standard Edition (J2SE) brings hope to the Java text mechanisms. This package provides you everything necessary to use regular expressions&emdash;all packaged in a simplified object-oriented framework. <p>

In addition to working examples and best practices, this book features a detailed API reference with examples supporting nearly every method, and a step-by-step tutorial to create your own regular expressions. With time, you'll discover that regular expressions are extremely powerful in your programming arsenal&emdash;and you'll enjoy using them! And once you've mastered these tools, you'll ponder how you ever managed without them?



About the Author

Mehran Habibi is the coauthor of <i>The Sun Certified Java Developer Exam with J2SE 1.4</i> and <i>Cracking the AP Computer Science Exam, 2004-2005 Edition</i>. He is also an application architect with BankOne in Ohio, where he resides with his lovely wife, Angela. Mehran has over 9 years of IT experience, including positions with IBM, Executive Jet, UUNET, BankOne, and OCLC, in addition to working as a university lecturer, independent consultant, and Java certification trainer. Technologies of interest to him include web services, wireless technologies, and XML/XSLT. Mehran’s professional focus has been on architecture, project leadership, mentoring, team leadership, and programming from the mid-tier on back. Mehran holds certifications in both "The Other Company" and Java 2, and he graduated with a bachelor’s of science degree in software engineering from the honors program at The Ohio State University.

Product Details

  • Paperback: 280 pages
  • Publisher: Apress; 1 edition (October 29, 2003)
  • Language: English
  • ISBN-10: 1590591070
  • ISBN-13: 978-1590591079
  • Product Dimensions: 9.4 x 7.1 x 0.7 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon.com Sales Rank: #874,830 in Books (See Bestsellers in Books)

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Java Regular Expressions: Taming the java.util.regex Engine
46% buy the item featured on this page:
Java Regular Expressions: Taming the java.util.regex Engine 3.9 out of 5 stars (15)
$32.57
Mastering Regular Expressions
25% buy
Mastering Regular Expressions 4.5 out of 5 stars (134)
$29.69
Regular Expressions Cookbook
13% buy
Regular Expressions Cookbook 4.8 out of 5 stars (18)
$29.70
Regular Expression Pocket Reference (Pocket Reference (O'Reilly))
9% buy
Regular Expression Pocket Reference (Pocket Reference (O'Reilly)) 4.2 out of 5 stars (28)
$10.19

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)

Your tags: Add your first tag
 

 

Customer Reviews

15 Reviews
5 star:
 (7)
4 star:
 (2)
3 star:
 (4)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (15 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
5 of 5 people found the following review helpful:
4.0 out of 5 stars Taming developers for the REGEX adventure, May 4, 2006
Java, with simplicity being the prime motto started off by striking off pointers, generics, multiple inheritance, regex, high-end reflection etc., from the core language. But as time progressed, folks at sun started bringing those features back into the language out of growing necessity. Java 1.2 added a proper Collections API, Java 1.3 added Dynamic Proxy model, Java 1.4 added Regex, Java 1.5 added generics and so on...

Regular Expressions (REGEX) are one of those weirdly named concepts that establishes a back-off-i-am-complex sort of impression at first sight. Admittedly, it has a strong mathematical foundation and a tidy sum of theory backing its existence. But, that doesnt mean that learning and using them in programming languages have to be difficult, in fact it is not even close to difficult as long as we are well guided by trained personnel.

In this book, the author attempts to train us on regular expressions as it applies to java.

Chapter 1 answers questions like "What is a regular expression" and "How to create regular expressions with that weird syntax".
In my opinion, this chapter is a tad quicker than one would like. So, those new to regex might find it a bit intimidating.

Chapter 2 introduces you to the java's regex object model. Specifically the Pattern and Matcher objects are addressed along with the additions to the String class.
At first, i thought that this chapter is nothing but a copy-paste of javadocs. Later, when i referred javadocs for further information i realized that the author truly took the pain to decode it before presenting it here. This chapter is a good reference for the java regex object model.

Chapter 3 explains the advanced concepts like groups, subgroups, back-references, greedy qualifiers, possessive qualifiers, reluctant qualifiers, positive look-aheads, negative look-aheads, positive look-behinds and negative look-behinds. Finally, the author enlightens us with some tips on how to create efficient regular expressions.
In my opinion, this section is too thin. It covers too many concepts in too little pages. I would have expected a more exhaustive coverage here.

Chapter 4 tries to demonstrate practical usage of regular expressions in the context of an object oriented language like java.
This chapter is too ambitious about being practical; and gets too involved with file I/O and NIO than is necessary. Reading this chapter is a waste of time because it neither explains NIO nor REGEX well.

Chapter 5 takes a few of real-life use-cases like Email validation, Phone Number validation etc. and attempts to solve it.
Again, i was hoping that this section will contain interesting information, but was very dissapointed. Many examples were a mere copy-paste from earlier chapters.

Bottomline, if you are looking for a head start in java regex; this book helps. But, if you are looking for an indepth coverage of concepts, the art of writing efficient expressions and are expecting to become a regex expert, then this book alone wont suffice. You might have to try reading this book(for java api) along with "Mastering Regular Expressions" (for regex concepts) to achieve that goal.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 11 people found the following review helpful:
3.0 out of 5 stars Taming what?, July 3, 2005
By Riccardo Audano (Chiavari, Italy) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This book starts very well with a practical, easy to follow, step-to-step introduction to regular expressions and their use with Java. This is to be appreciated since regexp are a complex subject that can easily be presented in an intimidating and obscure way. The problem is, this books never soars over this elementary level and in the end leaves you a bit disappointed even if you are totally new to the subject. The book is small and there are lots of white spaces, repetitions and not so useful discussions. I am under the unpleasant impression that the author and publisher realized the book lacked some meat and tried to cover up for it. It can still be a useful text if you want a really gentle intro to regexp usage in Java, but be warned that it lacks a serious and convincing treatment of regexp syntax. You will come out from this book with the ability to use regular expresisons only for really simple cases.
The subtitle should be "a light intro to java.util.regex engine" and not certainly "taming the java.util.regex engine".
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 11 people found the following review helpful:
2.0 out of 5 stars Shame On the Editor, August 4, 2004
By Randy (Philadelphia, PA) - See all my reviews
I am relatively new to Java. Although I have forgotten most of what I once knew about regular expressions, I remember their power quite well. So I was very excited when I saw this book. But here's my unfortunate conclusion: The editing of this book is so sloppy, the typos so frequent and often grossly misleading, that what should have been a pleasure turned out to be a chore. Having said that, I will certainly admit that I got enough information to begin playing around with RE in Java myself. But I doubt I will ever buy another book from this publisher.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Adequately lukewarm, definitely not taming
I agree with the reviewer who said the book never soars beyond the basics. And, aside from typos, I can't stand factual errors or bad advice such as using the more expensive... Read more
Published 11 months ago by hukeli

5.0 out of 5 stars A lucid explanation of regular expressions
This book provides by far the clearest exposition of regular expressions that I have ever seen. The writing flows nicely and the explanations are lucid, yet one doesn't get the... Read more
Published on March 28, 2005 by William J. Poser

3.0 out of 5 stars Not perfect, but useful for Java developers new to reg. expr
The book consists of 250 pages of wide-spaced text, split into 5 chapters. The first chapter is an introduction to regular expressions, explaining basic regular expression syntax... Read more
Published on January 25, 2005 by Jan Goyvaerts

1.0 out of 5 stars Anyone want white spaces and extra margins?
Who are these people giving 5 stars??

Clearly this book is short on material. It seems like the author tried to cover up that fact by putting extra wide margins... Read more
Published on August 6, 2004 by Pen Name

5.0 out of 5 stars Practical regular expressions in Java
Now I finally understand why Perl programmers are so fanatical. Mehran has excellent coverage of regular expressions in Java from basic to advanced topics such as Groups and... Read more
Published on June 30, 2004 by Christopher Judd

4.0 out of 5 stars Great coverage of java.util.regex
Here the author aims at two main goals. First, provide a full, in depth coverage of the java.util.regex engine, then, offer a basic but complete introduction to RegExp. Read more
Published on June 26, 2004 by Foti Massimo

5.0 out of 5 stars Excellent tutorial and reference
This book is an excellent introduction to regular expressions in general and the Java regex package in particular. Read more
Published on March 25, 2004 by Thomas Paul

3.0 out of 5 stars Could have been 4 stars if not for so-so editing
I've been using Perl for years, so regex is nothing new to me; however, Java is so I figured this would be a good book for tapping something I already know, but presenting it in a... Read more
Published on March 16, 2004 by fuzz_ball

5.0 out of 5 stars Excelent coverage of Java regular expressions.
Before reading this book I was only aware of what regular expressions were used for. I had never used them in my own development. Read more
Published on March 16, 2004 by Anthony J. Serpico

5.0 out of 5 stars An extremely illuminating read
Prior to reviewing this book, my only experience with regular expressions was a few Perl scripts here or there. Read more
Published on March 13, 2004 by Terence Camerlengo

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
Anyone need psychology testbook- trying to sell a used copy 2 23 hours ago
textbook scam 72 1 day ago
Textbooks for Kindle DX? 61 7 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.