文档介绍:SECOND EDITION
Regular Expressions Cookbook
Jan Goyvaerts and Steven Levithan
Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo
Regular Expressions Cookbook, Second Edition
by Jan Goyvaerts and Steven Levithan
Copyright © 2012 Jan Goyvaerts, Steven Levithan. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.). For more information, contact our
corporate/institutional sales department: 800-998-9938 or ******@.
Editor: Andy Oram Indexer: BIM Publishing Services
Production Editor: Holly Bauer Cover Designer: Karen Montgomery
Copyeditor: Genevieve d’Entremont Interior Designer: David Futato
Proofreader: BIM Publishing Services Illustrator: a Demarest
August 2012: Second Edition.
Revision History for the Second Edition:
2012-08-10 First release
See /catalog/?isbn=9781449319434 for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. Regular Expressions Cookbook, the image of a musk shrew, and related trade dress
are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-31943-4
[LSI]
1344629030
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .