Understanding JavaScript RegExp: Example based guide to mastering JavaScript regular expressionsКНИГИ » ПРОГРАММИНГ
Название: Understanding javascript RegExp: Example based guide to mastering javascript regular expressions Автор: Sundeep Agarwal Издательство: Leanpub Год: 2023-10-26 Язык: английский Формат: pdf (true), mobi, epub Размер: 10.1 MB
Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another.
This book will help you learn javascript Regular Expressions, a mini-programming language for all sorts of text processing needs.
The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them. Make an effort to understand the sample input as well as the solution presented and check if the output changes (or not!) when you alter some part of the input and the code. As an analogy, consider learning to drive a car — no matter how much you read about them or listen to explanations, you'd need practical experience to become proficient.
Regular Expressions is a versatile tool for text processing. You'll find them included as part of the standard library of most programming languages that are used for scripting purposes. If not, you can usually find a third-party library. Syntax and features of regular expressions vary from language to language. javascript's syntax is similar to that of Perl language, but there are significant feature differences.
The String object in javascript supports variety of methods to deal with text. So, what's so special about regular expressions and why would you need it? For learning and understanding purposes, one can view regular expressions as a mini-programming language specialized for text processing. Parts of a regular expression can be saved for future use, analogous to variables. There are ways to perform AND, OR, NOT conditionals. Operations similar to range, repetition and so on.
Exercises are included to test your understanding. Reference solutions are also provided.
Prerequisites:
You should be familiar with programming basics. You should also have a working knowledge of javascript syntax and functional programming concepts like map and filter.
You are also expected to get comfortable with reading documentation, searching online, visiting external links provided for further reading, tinkering with illustrated examples, asking for help when you are stuck and so on. In other words, be proactive and curious instead of just consuming the content passively.
Скачать Understanding javascript RegExp: Example based guide to mastering javascript regular expressions
Python re(gex)? a magical tool for text processing Название: Python re(gex)? a magical tool for text processing Автор: Sundeep Agarwal Издательство: Sundeep Agarwal Год: 2019 Формат: PDF Страниц: 71...
JavaScript RegExp: an example based guide Название: javascript RegExp: an example based guide Автор: Sundeep Agarwal Издательство: Leanpub Год: 2019 Язык: английский Формат: pdf...
Regular Expressions Cookbook, Second Edition Название: Regular Expressions Cookbook, Second Edition Автор: Jan Goyvaerts and Steven Levithan Издательство: O’Reilly Media, Inc. Год: 2012 Формат:...
Regular Expressions Cookbook Название: Regular Expressions Cookbook Автор: Jan Goyvaerts and Steven Levithan Издательство: O’Reilly Media, Inc. Год: 2009 Формат: PDF Страниц: 512...
Mastering Regular Expressions, Third Edition Название: Mastering Regular Expressions, Third Edition Автор: Jeffrey E. F. Friedl Издательство: O'Reilly Media Год: 2006 Формат: PDF Страниц: 535...
Regular Expressions: Pocket Primer Название: Regular Expressions: Pocket Primer Автор: Oswald Campesato Издательство: Mercury Learning & Information Год: 2019 Страниц: 190 Формат:...