Start reading Oracle Regular Expressions Pocket Reference on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Oracle Regular Expressions Pocket Reference (Pocket Reference (O'Reilly))
 
 

Oracle Regular Expressions Pocket Reference (Pocket Reference (O'Reilly)) [Kindle Edition]

Jonathan Gennick , Peter Linsley
4.0 out of 5 stars  See all reviews (1 customer review)

Digital List Price: £5.20 What's this?
Print List Price: £7.50
Kindle Price: £4.16 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £3.34 (45%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £4.16  
Paperback £5.62  


Product Description

Product Description

Support for regular expressions in SQL and PL/SQL is one of the most exciting features of Oracle Database 10G. Oracle has long supported the ANSI-standard LIKE predicate for rudimentary pattern matching, but regular expressions take pattern matching to a new level. They provide a powerful way to select data that matches a pattern, as well as to manipulate, rearrange, and change that data.

This concise pocket guide is part tutorial and part quick-reference. It's suitable for those who have never used regular expressions before, as well as those who have experience with Perl and other languages supporting regular expressions. The book describes Oracle Database 10G's support for regular expressions, including globalization support and differences between Perl's syntax and the POSIX syntax supported by Oracle 10G. It also provides a comprehensive reference, including examples, to all supported regular expression operators, functions, and error messages.

O'Reilly's Pocket References have become a favorite among developers and database administrators everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. Whether you're using regular expressions for the first time or applying your skills from other languages to the latest version of Oracle, the Oracle Regular Expressions Pocket Reference is the book to have close by.

From the Publisher

Oracle Regular Expressions Pocket Reference is part tutorial and part quick-reference. It's suitable for those who have never used regular expressions before, as well as those who have experience with Perl and other languages supporting regular expressions. The book describes Oracle Database 10G's support for regular expressions, including globalization support and differences between Perl's syntax and the POSIX syntax supported by Oracle 10G. It also provides a comprehensive reference, including examples, to all supported regular expression operators, functions, and error messages.

Product details

  • Format: Kindle Edition
  • File Size: 2092 KB
  • Print Length: 66 pages
  • Page Numbers Source ISBN: 0596006012
  • Publisher: O'Reilly Media (9 Feb 2009)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B0026OR38A
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #246,898 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Jonathan Gennick
Discover books, learn about writers, and more.

Visit Amazon's Jonathan Gennick Page

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

5 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
Format:Paperback
Lightweight book which covers the basics of Regular Expressions used in Oracle with no additional padding. Very good book for someone who has never used Regular Expressions or just needs to be reminded of the syntax.
Only 4 starts because they got the support for "Lazy Quantifiers" support in Oracle wrong, it is supported in Oracle 10g so needs updating. (page 28)
Well worth the money in my opinion.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  4 reviews
6 of 7 people found the following review helpful
All you need to use Oracle regular expressions 19 Jan 2007
By Jan Goyvaerts - Published on Amazon.com
Format:Paperback
This pocket-sized 60-page booklet covers only one topic: the regular expression support in Oracle Database 10g. And it covers it well. Though the book's cover says "pocket reference", the book actually contains both a short tutorial and a reference.

The tutorial does a good job of explaining basic regular expression concepts. It doesn't provide a lot of examples or detailed explanations. But if you're apt and don't mind to experiment a little, it'll probably be all you need. Oracle's regular expression flavor is fairly limited, so there aren't many tricky concepts to explain.

The second half of the book is the actual reference. The first part of the reference lists all of the available regular expression tokens, along with a brief but clear description of what the token matches, and one or two examples. The examples use only literal text, so you can try them in Oracle without needing a particular example database.

The second part of the reference describes Oracle's four regular expression functions: REGEXP_INSTR, REGEXP_LIKE, REGEXP_REPLACE and REGEXP_SUBSTR. All the parameters that these four functions accept are fully explained, with clear indications of what all the possible values for these parameters will do. The book shows several examples for each function, again using only literal text. You can easily replace the strings with column names in your actual SQL code.

The final part of the reference lists all 10 error codes that the regexp functions can trigger, along with a one-paragraph description explaining exactly what the error is about (which isn't always obvious from the error messages themselves).

All in all this is an excellent little book. It's probably all you need to successfully use regular expressions with Oracle.

Many people recommend Mastering Regular Expressions to go along with the Oracle book. I disagree. Oracle implements POSIX regular expressions, which are a fairly limited subset of modern Perl-style regular expressions. (Actually, Perl's regex syntax is a significant extension of POSIX.) Mastering Regular Expressions barely mentions POSIX, and never mentions Oracle. It mostly talks about the advanced regex features in Perl, Java, .NET and PHP. If you use any of these languages, buying both Mastering Regular Expressions and Oracle Regular Expressions is certainly a good idea. But if you're a database administrator working solely with Oracle, the Oracle Regular Expressions Pocket Reference is all you need.
5 of 8 people found the following review helpful
Cool small booklet on new ORACLE 10g feature 14 Nov 2003
By Gregor Theis - Published on Amazon.com
Format:Paperback
"ORACLE Regular Expressions" is a booklet about the new ORACLE 10g SQL functions that work with regular expressions:

- REGEXP_INSTR
- REGEXP_LIKE
- REGEXP_REPLACE
- REGEXP_SUBSTR

The authors describe the new functions and the ORACLE regular expression dialect (what kind of patterns the regexp engine handles).

The book consists of five chapters:

- Tutorial (an introduction into regular expressions)
- ORACLE's regular epression support (the functions, NLS support, Perl vs. ORACLE regular expressions)
- Regular Expression Quick Reference (explanation of the regexp dialect that ORACLE understands, what metacharacters does what and so on)
- ORACLE Regular Expression Functions (who to call the four functions mentioned above)
- ORACLE Regular Expression Error Messages (the new ORA- errors related to regexps)

Unfortunately I had no access to an ORACLE 10g database at the time of writing this review (ORACLE 10g was not available for download the "normal" users yet), so that I was not able to test the new functions and the examples in this book (although I am looking forward to do this sooon).

I think that "ORACLE Regular Expressions" is not sufficient to learn Regular Expressions from scratch but this was not the goal of this book anyway. If you are new to regular expressions, get J. Friedl's book "Mastering Regular Expressions" (the very best book about regular expressions in general). Afterwards "ORACLE Regular Expressions" will be perfect as a small reference book for the ORACLE regexp implementation.

I liked the comparison between ORACLE and Perl Regexp Support (I am a big Perl fan, and did lots of DBI programs on ORACLE with Perl). Unfortunately this book is missing an example on how to create a function based index to support REGEXP_LIKE queries (the possibility was mentioned) and get no full table scan.

The pocket reference book from O'Reilly does not contain an alphabetic index. However because of the good table of contents and the small size of the book, having an index is not really necessary.

1 of 2 people found the following review helpful
A quick ease reference... and translator!!! 11 Mar 2008
By J. Brutto - Published on Amazon.com
Format:Paperback
This book provides not only the basics and some extras on the built-in Oracle utilities for regular expression handling, but also provides a nice "translation manuscript" if you are used to working with regular expressions in languages such as Perl, Java, C++, etc.

Great little reference and especially useful for translating your regular expressions between engines.
Search Customer Reviews
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
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges