新書推薦:

《
英国教育史研究丛书——延续与新变:英国斯图亚特时期贵族教育研究
》
售價:HK$
108.9

《
更易上手!钢琴弹唱经典老歌(五线谱版)
》
售價:HK$
54.8

《
哲学叙事:中国与西方
》
售價:HK$
107.8

《
一人商业模式 创富新路径个人经济自由创业变现方法书
》
售價:HK$
54.8

《
经典与想象:中国古代传说新解
》
售價:HK$
85.8

《
祠堂与教堂:中西传统核心价值观比较研究(第3版)
》
售價:HK$
118.8

《
极简德国东方看世界·极简德国史
》
售價:HK$
74.8

《
舌尖上的中国新编视频版营养师妈妈教你做婴幼儿餐
》
售價:HK$
63.8
|
內容簡介: |
《正则表达式Cookbook(第2版)(影印版)》通过细致的讲解来学习正则表达的基础知识,根据代码清单,使用你所选择的语言来实现正则表达式,理解正则表达式在不同语言中的差异,在多个实例中验证和格式化常见的用户输入,查找和操纵单词、特殊字符以及多行文本,判断整数、浮点数和其他数字格式。
|
關於作者: |
高瓦特斯(JanGoyvaerts),管理着JustGreatSoftware公司,他设计和开发了一些最流行的正则表达式软件。
利维森(StevenLevithan),杰出的JavaScript正则表达式专家,同时他也是多个开源正则表达式工具的编写者。
|
目錄:
|
Preface
1.IntroductiontoRegularExpressions
RegularExpressionsDefined
SearchandReplacewithRegularExpressions
ToolsforWorkingwithRegularExpressions
2.BasicRegularExpressionSkills
2.1MatchLiteralText
2.2MatchNonprintableCharacters
2.3MatchOneofManyCharacters
2.4MatchAnyCharacter
2.5MatchSomethingattheStartandortheEndofaLine
2.6MatchWholeWords
2.7UnicodeCodePoints,Categories,Blocks,andScripts
2.8MatchOneofSeveralAlternatives
2.9GroupandCapturePartsoftheMatch
2.10MatchPreviouslyMatchedTextAgain
2.11CaptureandNamePartsoftheMatch
2.12RepeatPartoftheRegexaCertainNumberofTimes
2.13ChooseMinimalorMaximalRepetition
2.14EliminateNeedlessBacktracking
2.15PreventRunawayRepetition
2.16TestforaMatchWithoutAddingIttotheOverallMatch
2.17MatchOneofTwoAlternativesBasedonaCondition
2.18AddCommentstoaRegularExpression
2.19InsertLiteralTextintotheReplacementText
2.20InserttheRegexMatchintotheReplacementText
2.21InsertPartoftheRegexMatchintotheReplacementText
2.22InsertMatchContextintotheReplacementText
3.ProgrammingwithRegularExpressions
ProgrammingLanguagesandRegexFlavors
3.1LiteralRegularExpressionsinSourceCode
3.2ImporttheRegularExpressionLibrary
3.3CreateRegularExpressionObjects
3.4SetRegularExpressionOptions
3.5TestIfaMatchCanBeFoundWithinaSubjectString
3.6TestWhetheraRegexMatchestheSubjectStringEntirely
3.7RetrievetheMatchedText
3.8DeterminethePositionandLengthoftheMatch
3.9RetrievePartoftheMatchedText
3.10RetrieveaListofAllMatches
3.11IterateoverAllMatches
3.12ValidateMatchesinProceduralCode
3.13FindaMatchWithinAnotherMatch
3.14ReplaceAllMatches
3.15ReplaceMatchesReusingPartsoftheMatch
3.16ReplaceMatcheswithReplacementsGeneratedinCode
3.17ReplaceAllMatchesWithintheMatchesofAnotherRegex
3.18ReplaceAllMatchesBetweentheMatchesofAnotherRegex
3.19SplitaString
3.20SplitaString,KeepingtheRegexMatches
3.21SearchLinebyLine
3.22ConstructaParser
4.ValidationandFormatting
4.1ValidateEmailAddresses
4.2ValidateandFormatNorthAmericanPhoneNumbers
4.3ValidateInternationalPhoneNumbers
4.4ValidateTraditionalDateFormats
4.5ValidateTraditionalDateFormats,ExcludingInvalidDates
4.6ValidateTraditionalTimeFormats
4.7ValidateISO8601DatesandTimes
4.8LimitInputtoAlphanumericCharacters
4.9LimittheLengthofText
4.10LimittheNumberofLinesinText
4.11ValidateAffirmativeResponses
4.12ValidateSocialSecurityNumbers
4.13ValidateISBNs
4.14ValidateZIPCodes
4.15ValidateCanadianPostalCodes
4.16ValidateU.K.Postcodes
4.17FindAddresseswithPostOfficeBoxes
……
5.Words,Lines,andSpeaaICharacters
6.Numbers
7.SourceCodeandLogFiles
8.URLs,Paths,andlnternetAddresses
9.MarkupandDataFormats
|
|