Regex quick syntax reference understanding and using regular expressions

This quick guide to regular expressions is a condensed code and syntax reference for an important programming technique. It demonstrates regex syntax in a well-organized format that can be used as a handy reference, showing you how to execute regexes in many languages, including JavaScript, Python,...

Full description

Bibliographic Details
Main Author: Nagy, Zsolt
Format: eBook
Language:English
Published: [United States], New York, NY Apress, Distributed to the Book trade worldwide by Springer 2018
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 06089nmm a2200517 u 4500
001 EB001942834
003 EBX01000000000000001105736
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 1484238761 
020 |a 148423877X 
020 |a 9781484238769 
020 |a 9781484238776 
050 4 |a QA76.73.J39 
100 1 |a Nagy, Zsolt 
245 0 0 |a Regex quick syntax reference  |b understanding and using regular expressions  |c Zsolt Nagy 
260 |a [United States], New York, NY  |b Apress, Distributed to the Book trade worldwide by Springer  |c 2018 
300 |a 1 online resource 
505 0 |a Includes bibliographical references and index 
505 0 |a A Successful Match Is Cheaper Than FailureAutomatically Generating Regex FSMs; Summary; Chapter 5: Repeat Modifiers; Backtracking; Match at Least Once; Match at Most Once: Optionals; Match Any Number of Times; Fixed-Range Matching; Loop Exactly n Times; Greedy Repeat Modifiers; Lazy Repeat Modifiers; Possessive Repeat Modifiers; Summary; Chapter 6: Character Sets and Character Classes; Character Sets; Character Set Ranges; Exclusions from Character Sets; Character Set Classes; Concatenating Advanced Language Constructs; Summary; Chapter 7: Substring Extraction from Regular Expressions 
505 0 |a Defining Capture GroupsPerl 6 Capture Groups; Retrieval of Captured Substrings; JavaScript; PHP; Python; Perl 5; Reusing Captured Substrings Within a Regex; Capture Groups and Performance; Extensions to Capture Groups; Summary; Chapter 8: Lookahead and Lookbehind; Lookahead; Lookbehind; Summary; Chapter 9: Maintaining Regular Expressions; Extended Mode; Regex Subroutines; PCRE Subroutines; Perl 6 Subroutines; Recursion and Circular References with Subroutines; Extended Mode, Subroutines, and Abstractions; Named Capture Groups; EMACS Named Capture Groups; PCRE Named Capture Groups 
505 0 |a Perl 6 Named Capture GroupsCase Study: XRegExp Library for JavaScript; Summary; Chapter 10: Optimizing Regular Expressions; Summary of the Optimization Techniques; Making Character Classes More Specific; Repeating Character Class Loops; Use Possessive Repeat Modifiers Whenever Possible; Use Atomic Groups; Refactor for Optimization; Optimization Techniques Limit Nondeterministic Execution; Summary; Chapter 11: Parsing HTML Code and URL Query Strings with Regular Expressions; Parsing HTML Tags; Processing the Query String of a URL; Afterword: This Is Not the End, but the Beginning 
505 0 |a Chapter 3: Executing Regular Expressions; Regular Expressions in JavaScript; RegExp Methods; String Methods Accepting Regular Expressions; Regex Modifiers; Global Matches; Multiline Matches; ES6 Unicode Regular Expressions; Sticky Matches; Summary; Other PCRE-Based Regex Environments; PHP; Python; Perl 5; Java; R; C#; Ruby; Golang; C++; Summary; Chapter 4: Visualizing Regex Execution Using Finite State Machines; Regular Expressions Are Finite State Machines; Backtracking; Deterministic and Nondeterministic Regex Modeling; Basic Regex Simplifications 
505 0 |a Intro; Table of Contents; About the Author; About the Technical Reviewer; Chapter 1: An Introduction to Regular Expressions; Why Are Regular Expressions Important?; What Are Regular Expressions?; Frustrations with Regular Expressions Arise from Lack of Taking Action; Regular Expressions Are Imperative; The Language Family of Regular Expressions; Summary; Chapter 2: Regex Syntax 101; Formulating an Expression; Literal Characters and Meta Characters; Arbitrary Character Class; Basic Concatenation; Alternative Execution; Operator Precedence and Parentheses; Anchored Start and End; Modifiers 
653 |a Programming & scripting languages: general / bicssc 
653 |a Computer programming / software development / bicssc 
653 |a JavaScript (Computer program language) / http://id.loc.gov/authorities/subjects/sh96004880 
653 |a JavaScript (Langage de programmation) 
653 |a JavaScript (Computer program language) / fast 
653 |a Web programming / bicssc 
653 |a COMPUTERS / Programming Languages / JavaScript / bisacsh 
653 |a Software Engineering / bicssc 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
015 |a GBB8L6681 
024 8 |a 10.1007/978-1-4842-3876-9 
776 |z 1484238753 
776 |z 9781484238752 
776 |z 9781484238776 
776 |z 1484238761 
776 |z 9781484238769 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781484238769/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.133 
082 0 |a 620 
520 |a This quick guide to regular expressions is a condensed code and syntax reference for an important programming technique. It demonstrates regex syntax in a well-organized format that can be used as a handy reference, showing you how to execute regexes in many languages, including JavaScript, Python, Java, and C#. The Regex Quick Syntax Reference features short, focused code examples that show you how to use regular expressions to validate user input, split strings, parse input, and match patterns. Utilizing regular expressions to deal with search/replace and filtering data for backend coding is also covered. You won't find any bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise and highly accessible. The book is packed with useful information and is a must-have for any programmer. What You Will Learn Formulate an expression Work with arbitrary char classes, disjunctions, and operator precedence Execute regular expressions and visualize using finite state machines Deal with modifiers, including greedy and lazy loops Handle substring extraction from regex using Perl 6 capture groups, capture substrings, and reuse substrings Who This Book Is For: If you have dealt with at least one programming language, chances are you know enough to understand regular expressions, and the examples in this book will help you develop proficiency.--Provided by publisher