Vtome.ru - электронная библиотека

Understanding JavaScript RegExp: Example based guide to mastering JavaScript regular expressions

  • Добавил: literator
  • Дата: 22-04-2024, 21:09
  • Комментариев: 0
Название: Understanding jаvascript RegExp: Example based guide to mastering jаvascript 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 jаvascript 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. jаvascript's syntax is similar to that of Perl language, but there are significant feature differences.

The String object in jаvascript 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 jаvascript 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 jаvascript RegExp: Example based guide to mastering jаvascript regular expressions



ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!











ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.