News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

SitePoint PHP Blog:
The Joy of Regular Expressions [2]
September 27, 2006 @ 09:20:00

Harry Fuecks is back today on the SitePoint PHP Blog with part two of his "joy of regular expressions" series, continuing on from this previous entry.

He jumps right in, summarizing the first part in a small section before getting back into the examples:

  • Hunting for .jp(e)gs
  • Escaping Meta-Characters
  • Search and Replace
  • preg_quote()
  • preg_replace()
  • Word Boundaries, Word Characters...and everything else
  • Sub patterns
  • Spot the XSS Hole
  • eval() is evil!
  • preg_replace_callback()
As you can see, it's crammed with just as much infromation as the first part and covers a wide range of topics to help you get more in tune with your inner regular expression guru.

0 comments voice your opinion now!
regular expressions joy example tutorial part2 preg eval meta regular expressions joy example tutorial part2 preg eval meta



PHP.net:
Mastering Regular Expressions - now with PHP coverage
August 24, 2006 @ 19:13:32

On PHP.net today, there's a note about an addition to the O'Reilly classic book (an asset to any developer's library) "Mastering Regular Expressions" - a full 48-page chapter on PHP.

The book is described as:

Mastering Regular Expressions quickly covers the basics of regular-expression syntax, then delves into the mechanics of expression-processing, common pitfalls, performance issues, and implementation-specific differences. Written in an engaging style and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions offers a wealth information that you can put to immediate use.

This new edition is the third release for the book.

0 comments voice your opinion now!
mastering regular expressions oreilly book third edition mastering regular expressions oreilly book third edition


WebProNews:
Introduction To Regular Expressions In PHP
June 27, 2006 @ 06:11:59

Linked to from this new post on the Zend Developer Zone is a handy regular expressions tutorial that any budding PHP developer should definitely check out.

Man I hate REGEX. Not for what it does, it's a powerful weapon. It's part sniper rifle, part bazooka and extremely useful in some situations. As powerful as it is though, it is a pain to write a good REGEX query; especially when you only do it occasionally. Thankfully, Bernard Peh and the gang over at WebProNews have released a primer for REGEX in PHP that makes it a little less painful to work with.

Appropriately titled Introduction To Regular Expressions In PHP, the article starts with a basic REGEX primer. It's sparse on details but it discusses the different types of characters in a REGEX query. Properly formatted, this would be a great little cheat sheet to have handy.

Cal (on the Zend site) mentions that it's a good starting place, but they don't get too deep into the meat of the matter, showing more than just the basics of "this is what this character does". Oh well, I suppose maybe that's being saved for part two...

0 comments voice your opinion now!
introduction tutuorial regular expressions introduction tutuorial regular expressions



Community Events









Don't see your event here?
Let us know!


framework zend example release PHP5 package job zendframework conference database PEAR developer security code ajax application cakephp book releases mysql

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework