新書推薦:

《
帛书老子校注析
》
售價:HK$
107.8

《
国家、社会与大学:1700—1914的德国
》
售價:HK$
94.6

《
经纬度·何以中国·反思与重构 :中国政治思想史论精选
》
售價:HK$
96.8

《
有情:2024年中国女性散文选
》
售價:HK$
65.8

《
《本草纲目》里的博物学(全6册)(给孩子的309堂本草博物课,全景展现“东方博物大百科,6大卷本草,41大体系分类,350余幅手绘图谱)
》
售價:HK$
217.8

《
95%的不舒服,呼吸能解决
》
售價:HK$
98.9

《
新加坡史:从夹缝求生到奇迹崛起
》
售價:HK$
140.8

《
甲骨文丛书·克里米亚战争
》
售價:HK$
123.2
|
內容簡介: |
《正则表达式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
|
|