Document Type
|
:
|
BL
|
Record Number
|
:
|
851148
|
Main Entry
|
:
|
Nagy, Zsolt
|
Title & Author
|
:
|
Regex quick syntax reference : : understanding and using regular expressions /\ Zsolt Nagy.
|
Publication Statement
|
:
|
[United States] :: Apress,, 2018.
|
|
:
|
New York, NY :: Distributed to the Book trade worldwide by Springer
|
|
:
|
, ©2018
|
Page. NO
|
:
|
1 online resource
|
ISBN
|
:
|
1484238761
|
|
:
|
: 148423877X
|
|
:
|
: 9781484238769
|
|
:
|
: 9781484238776
|
|
:
|
1484238753
|
|
:
|
9781484238752
|
Bibliographies/Indexes
|
:
|
Includes bibliographical references and index.
|
Contents
|
:
|
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.
|
|
:
|
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.
|
|
:
|
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.
|
|
:
|
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.
|
|
:
|
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.
|
Abstract
|
:
|
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.
|
Subject
|
:
|
JavaScript (Computer program language)
|
Subject
|
:
|
Computer programming-- software development.
|
Subject
|
:
|
COMPUTERS-- Programming Languages-- JavaScript.
|
Subject
|
:
|
JavaScript (Computer program language)
|
Subject
|
:
|
Programming scripting languages: general.
|
Subject
|
:
|
Software Engineering.
|
Subject
|
:
|
Web programming.
|
Dewey Classification
|
:
|
005.133
|
LC Classification
|
:
|
QA76.73.J39N34 2018eb
|