新書推薦:

《
极简日本茶道史
》
售價:HK$
85.8

《
法律人AI实操指南进阶版
》
售價:HK$
68.2

《
分镜设计:脚本、镜头语言与AI技术应用从入门到精通
》
售價:HK$
108.9

《
钱穆 中国历代政治得失
》
售價:HK$
53.9

《
海外中国研究·秦帝国的诞生
》
售價:HK$
85.8

《
为自己跳舞,就会有人加入(资深关系治疗师的主动单身疗法,先疗愈,再谈爱)
》
售價:HK$
65.8

《
中华人民共和国传染病防治法新旧对照与重点解读
》
售價:HK$
25.3

《
胡适研究长短录(著名历史学家杨天石三十载研究心血,二十篇佳作集成)
》
售價:HK$
74.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
|
|