Regular expressions is a powerful way of doing search and replace in strings.
- Patterns and flags
- Символьні класи
- Юнікод: прапорець "u" та клас \p{...}
- Якорі: початок рядка ^ і кінець $
- Multiline mode of anchors ^ $, flag "m"
- Межа слова: \b
- Escaping, special characters
- Набори та діапазони [...]
- Квантифікатори +, *, ? та {n}
- Greedy and lazy quantifiers
- Capturing groups
- Backreferences in pattern: \N and \k<name>
- Альтернація (АБО) |
- Lookahead and lookbehind
- Catastrophic backtracking
- Sticky flag "y", searching at position
- Methods of RegExp and String