Author Topic: Mastering Regular Expressions, Third Edition, is available.  (Read 15501 times)

0 Members and 1 Guest are viewing this topic.

Offline effigyTopic starter

  • Staff Alumni
  • Freak!
  • *
  • Posts: 7,301
  • Gender: Male
  • We must be the change we wish to see in the world.
    • View Profile
Mastering Regular Expressions, Third Edition, is available.
« on: August 22, 2006, 06:27:45 PM »
The Third Edition of Mastering Regular Expressions is available.

Quote
This third edition is 58 pages longer than the second edition, and now reaches 542 pages in length. The main changes from the second edition are a new, 48-page chapter on PHP, and a rewritten/expanded Java chapter taking into account the many java.util.regex changes between Java 1.4 and Java 1.5/Java 1.6.
Source: One of Jeffrey Friedl's Blog entries.

I own the Second Edition and consider it an invaluable resource.
« Last Edit: August 22, 2006, 09:36:26 PM by effigy »
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

Offline c4onastick

  • Enthusiast
  • Posts: 218
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #1 on: October 23, 2006, 07:31:25 PM »
I just bought the third edition, and I also love it. It's very well written and works well as a tutorial or reference. The author wrote the third edition specifically to expand on regex applications in PHP. I highly recommend it to any one.
Regex Tester::Unicode Regex::PHP Function List::MySQL 5.1
"Sorry sweetheart... but this all day sucker is down to the soggy white stick." -- Topper Harley

Offline rishiraj

  • Irregular
  • Posts: 37
  • Gender: Male
    • View Profile
    • Rishiraj Singh
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #2 on: October 23, 2007, 08:07:58 AM »
I am beginner to regex,
can I start directly with 3rd version or I should first read the basics from other version.

Offline nafetski

  • Enthusiast
  • Posts: 270
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #3 on: October 31, 2007, 09:41:55 AM »
Editions aren't like sequels =)  It will have all the info from the 1st version, but will be more current/updated/support more languages.  You almost never want to buy an older edition of a book!
Dev Environment: Mac - OSX Snow Leopard / Eclipse / Kohana PHP Framework
Job: Sr Software Developer: (Large scale enterprise)
Notice:  Most of my forum posts I write on my iPhone while taking a dump.  This means that I don't test most of my code, and I might sound like I'm impatient...really I'm just busy punching a grumpy
Also: I've hit Google so many times it's asking for a divorce

Offline effigyTopic starter

  • Staff Alumni
  • Freak!
  • *
  • Posts: 7,301
  • Gender: Male
  • We must be the change we wish to see in the world.
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #4 on: October 31, 2007, 09:50:24 AM »
I am beginner to regex, can I start directly with 3rd version or I should first read the basics from other version.

If you're going to do a lot of expressions, and serious ones at that, I'd get the latest book. If you're just learning to do a few here and there, I would start with web tutorials.
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

Offline lordfrikk

  • Enthusiast
  • Posts: 111
  • Gender: Male
  • Egoistic Bitch
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #5 on: March 13, 2008, 12:11:53 PM »
I found the book in electronic format (.chm), someone maybe interested so I thought I'll share it with others:

Code: [Select]
*url removed*
« Last Edit: April 24, 2008, 11:01:21 AM by Daniel0 »

Offline clearstatcache

  • Enthusiast
  • Posts: 159
  • Gender: Female
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #6 on: May 06, 2008, 02:29:49 AM »
I found the book in electronic format (.chm), someone maybe interested so I thought I'll share it with others:


where can i find that copy??
*** Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies ... ***

Offline quecoder

  • Irregular
  • Posts: 26
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #7 on: July 12, 2008, 12:50:58 AM »
What is better ?
http://www.regular-expressions.info/
or this book ?

I want to be an expert in RegEx :)

Offline allenskd

  • Enthusiast
  • Posts: 50
  • Gender: Male
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #8 on: July 17, 2008, 06:39:13 PM »
Thought I kick in and post a little something for those who are still thinking on buying this.

This is my first regular expressions book and I absolutely don't regret buying it. The examples are well explained and covers a lot basic stuff for starters (like me, although I have fiddled with regex before but right now I learned so much in the first chapter that it's just amazing what it can do). I also think having buying the book is pretty much an advantage, for example minor issues like the internet going down for hours could hold your progress pretty much a lot.

I don't believe I'm going to be doing a lot of regular expressions (at the moment), yet I feel it adds up to my current skills and it will possibly have a better use in other areas (or other programming languages).

Oh yea, another thing is that the third version covers PHP more. I read in the introduction that second edition and first didn't had anything about PHP, so please be sure you buy the right one (THIRD EDITION).

Cheers!

Offline cute_girl

  • Irregular
  • Posts: 13
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #9 on: July 24, 2008, 12:56:26 AM »
hmmm lets try, i also want to be 100% in regex......  :-\

Offline nrg_alpha

  • Staff Alumni
  • Addict
  • *
  • Posts: 2,480
  • Gender: Male
  • PHPenchant, I haz it!
    • View Profile
    • Portfolio Site
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #10 on: August 04, 2008, 07:22:46 AM »
hmmm lets try, i also want to be 100% in regex......  :-\

If you are going to be strictly doing regex in PHP only, don't bother. As of PHP 6, the support for POSIX will be pretty much dropped in favor PCRE (I'm not sure if this means regex stuff will stop working in PHP.. but I would start converting any page expressions you have to Perl compatible... PCRE seems more robust and refined.

Cheers,

NRG
"Build a man a fire, you warm him for a day. Set a man on fire, and he'll be warm for the rest of his life."
PHP = One cool palindrome!

Offline maplist

  • Irregular
  • Posts: 8
    • View Profile
    • MapList
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #11 on: October 17, 2008, 02:30:20 PM »
Thanks for the info

Offline .josh

  • Administrator
  • 'Insane!'
  • *
  • Posts: 13,150
  • Grumpy Old Man
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #12 on: December 18, 2008, 05:41:00 PM »
Old post, but it is a sticky.... Just got this book as an xmas present.  I'm excited :)

p.s.-
hmmm lets try, i also want to be 100% in regex......  :-\

If you are going to be strictly doing regex in PHP only, don't bother. As of PHP 6, the support for POSIX will be pretty much dropped in favor PCRE (I'm not sure if this means regex stuff will stop working in PHP.. but I would start converting any page expressions you have to Perl compatible... PCRE seems more robust and refined.

Cheers,

NRG

All of the preg_xxx functions are pcre...those aren't being dropped, are they?
« Last Edit: December 18, 2008, 05:43:21 PM by Crayon Violent »

Did I help you? Feeling generous? Donate to me! | Donate to phpfreaks!

Offline nrg_alpha

  • Staff Alumni
  • Addict
  • *
  • Posts: 2,480
  • Gender: Male
  • PHPenchant, I haz it!
    • View Profile
    • Portfolio Site
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #13 on: December 18, 2008, 06:56:21 PM »
All of the preg_xxx functions are pcre...those aren't being dropped, are they?

No, PCRE is becoming the standard, so they are (and will be retained) in current and future PHP versions.. POSIX fucntionality (ereg) is going to only be available via extension in PHP 6 and later. Great book by the way.. really helped me understand how general regex engines 'think'.. you will not be disappointed :) I've seen you posting within the regex forums, and you seem pretty comfortable and knolwegable, so it will be quite the nice transition for you I suspect.
« Last Edit: December 18, 2008, 06:58:56 PM by nrg_alpha »
"Build a man a fire, you warm him for a day. Set a man on fire, and he'll be warm for the rest of his life."
PHP = One cool palindrome!

Offline lostnucleus

  • Enthusiast
  • Posts: 89
    • View Profile
Re: Mastering Regular Expressions, Third Edition, is available.
« Reply #14 on: October 16, 2009, 05:32:57 AM »
I also love this book very easy to read  and had a fun while reading it ,everthing is so well explained .