注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)其他編程語(yǔ)言/工具正則表達(dá)式入門(影印版)

正則表達(dá)式入門(影印版)

正則表達(dá)式入門(影印版)

定 價(jià):¥38.00

作 者: (美)菲茨杰拉德 著
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: 暫缺

ISBN: 9787564138912 出版時(shí)間: 2013-01-01 包裝: 平裝
開本: 16開 頁(yè)數(shù): 136 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  如果你是正則表達(dá)式新手,那么《正則表達(dá)式入門(影印版)》容易上手的指南就是很好的入門讀物。你將在大量實(shí)例的幫助下循序漸進(jìn)地學(xué)習(xí)相關(guān)基礎(chǔ)內(nèi)容,學(xué)習(xí)通過匹配特定關(guān)鍵字、字符和模式以實(shí)現(xiàn)匹配、抽取和轉(zhuǎn)換文本的第一手知識(shí)。正則表達(dá)式是程序員的重要工具,在很多Unix工具和Perl、Java、JavaScript、C#等編程語(yǔ)言中會(huì)用到。學(xué)完《正則表達(dá)式入門(影印版)》后,你將熟練掌握正則表達(dá)式中最常用的語(yǔ)法,還將領(lǐng)悟靈活運(yùn)用它們以省時(shí)省力的相關(guān)技巧。

作者簡(jiǎn)介

暫缺《正則表達(dá)式入門(影印版)》作者簡(jiǎn)介

圖書目錄

Preface
1. What Is a Regular Expression?
Getting Started with Regexpal
Matching a North American Phone Number
Matching Digits with a Character Class
Using a Character Shorthand
Matching Any Character
Capturing Groups and Back References
Using Quantifiers
Quoting Literals
A Sample of Applications
What You Learned in Chapter 1
Technical Notes

2. Simple Pattern Matching
Matching String Literals
Matching Digits
Matching Non-Digits
Matching Word and Non-Word Characters
Matching Whitespace
Matching Any Character, Once Again
Marking Up the Text
Using sed to Mark Up Text
Using Perl to Mark Up Text
What You Learned in Chapter 2
Technical Notes

3.Boundaries
The Beginning and End of a Line
Word and Non-word Boundaries
Other Anchors
Quoting a Group of Characters as Literals
Adding Tags
Adding Tags with sed
Adding Tags with Perl
What You Learned in Chapter 3
Technical Notes

4.Alternation, Groups, and Backreferences
Alternation
Subpatterns
Capturing Groups and Backreferences
Named Groups
Non-Capturing Groups
Atomic Groups
What You Learned in Chapter 4
Technical Notes

5.Character Classes
Negated Character Classes
Union and Difference
POSIX Character Classes
What You Learned in Chapter 5
Technical Notes

6.Matching Unicode and Other Characters
Matching a Unicode Character
Using vim
Matching Characters with Octal Numbers
Matching Unicode Character Properties
Matching Control Characters
What You Learned in Chapter 6
Technical Notes

7. Quantifiers
Greedy, Lazy, and Possessive
Matching with *, +, and ?
Matching a Specific Number of Times
Lazy Quantifiers
Possessive Quantifiers
What You Learned in Chapter 7
Technical Notes

8. Lookarounds
Positive Lookaheads
Negative Lookaheads
Positive Lookbehinds
Negative Lookbehinds
What You Learned in Chapter 8
Technical Notes

9. Marking Up a Document with HTML
Matching Tags
Transforming Plain Text with sed
Substitution with sed
Handling Roman Numerals with sed
Handling a Specific Paragraph with sed
Handling the Lines of the Poem with sed
Appending Tags
Using a Command File with sed
Transforming Plain Text with Perl
Handling Roman Numerals with Perl
Handling a Specific Paragraph with Perl
Handling the Lines of the Poem with Perl
Using a File of Commands with Perl
What You Learned in Chapter 9
Technical Notes

10.The End of the Beginning
Learning More
Notable Tools, Implementations, and Libraries
Perl
PCRE
Ruby (Oniguruma)
Python
RE2
Matching a North American Phone Number
Matching an Email Address
What You Learned in Chapter 10
Appendix: Regular Expression Reference
Regular Expression Glossary
Index

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)