Java Regular Expressions: Taming the java.util.regex Engine

Mehran Habibi

  • 出版商: Apress
  • 出版日期: 2004-02-11
  • 售價: $1,390
  • 貴賓價: 9.5$1,321
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 1590591070
  • ISBN-13: 9781590591079
  • 相關分類: Java 程式語言
  • 下單後立即進貨 (約1週~2週)



Java has always been an excellent language for working with objects. However, Java’s text manipulation mechanisms have always been somewhat limited, especially when compared to languages such as AWK and Perl. The introduction of an excellent regular expressions package into Java 2 Standard Edition (J2SE) rectifies this. The new java.util.regex package offers everything a developer needs to use regular expressions, all packaged in an easy-to-use, object-oriented framework.

This book is a valuable reference for learning about regular expressions in Java. It focuses on the use of regular expressions in the Java language. This book offers working examples, best practices, an extremely detailed API reference with examples for almost every method, and a step-by-step tutorial on how to go about forming your own regular expressions.

You will find that regular expressions can be an extremely powerful tool in your programming arsenal, as well an elegant instrument that you will enjoy using. After mastering these tools, you will wonder at how you ever managed without them.


Chapter 1 Regular Expressions
Chapter 2 Introduction to the Java.util.regex Object Model
Chapter 3 Advanced Regex
Chapter 4 Object-Oriented Regex
Chapter 5 Practical Examples
Appendix A Regular Expression Reference
Appendix B Pattern and Matcher Methods
Appendix C Common Regex Patterns