ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Regular expressions: feel the fear and do it anyway - James O'Neill - PSConfEU 2025

Автор: PowerShell Conference EU

Загружено: 2025-07-09

Просмотров: 371

Описание: PowerShell Conference EU
June 23-26, 2025
Clarion Malmö Live
https://github.com/psconfeu/2025 (slides, code)

Abstract:
The syntax of regular expressions seems designed to scare people off, and many people don't progress beyond the basics, but whether it is searching, validating, formatting, or transforming text regex is the most powerful tool we have at our disposal. This is a session to understand the what PowerShell's operators can do, what the not regex object can do, and how you can use Regex in VS Code, and then introduce a full set of tools.

Summary (autogen):
The lecture titled "Regex, Feel the Fear and Do It Anyway" addresses the commonly encountered apprehension surrounding the use of regular expressions (regex). The speaker engages the audience by asking how many are hesitant to use regex despite knowing they should. This question sets the stage for a detailed discussion aimed at demystifying regex and showcasing its practicality in various programming scenarios.

The lecture begins with an anecdote about the speaker's previous experience and their connection to Microsoft, emphasizing their familiarity with PowerShell and various modules. This background sets a strong foundation for their insights into regex, as they delve into its operators within PowerShell such as match, split, and replace. The speaker illustrates these concepts with examples like matching the string "banana" to demonstrate how regex operates, outlining how it can perform simple matching tasks as well as complex text manipulations using meta characters.

As the discussion progresses, the speaker introduces more advanced regex features, such as greedy and lazy matching, illustrating differences in behavior when using quantifiers like asterisks and plus signs. They demonstrate how to efficiently swap text segments and organize patterns, highlighting the importance of understanding character matching rules and the impact of greedy versus lazy expressions. Specific examples are used to explain how regex can be utilized to manipulate names and strings, making the lecture both practical and applicable.

The speaker also explains the use of character classes and the intricacies of regex syntax, specifically how certain characters can represent different meanings depending on their placement. They elucidate these concepts with practical examples, discussing cases of accented characters and how these can lead to complications in regex implementations. The audience is encouraged to broaden their understanding of global character sets and variation in name structures.

Further down the lecture, the heart of regex is tackled by demonstrating how to construct complex expressions such as validating UK postcodes. The speaker elaborates on the organizational structure of regex, including the use of groups and named captures to make regex more readable and manageable. These structures help clarify complex expressions, ensuring that programmers can easily refer back to specific components of the regex without confusion.

As the lecture nears its conclusion, the speaker reflects on the common pitfalls of regex, discussing how debugging can become difficult when working with unexpected matches and suggesting practices that can help mitigate these issues. They emphasize the importance of comments in regex to improve clarity and maintainability. By embedding explanatory notes within regex patterns, developers can reduce the intimidation factor associated with regex and facilitate easier understanding for future reference.

The session wraps up with a Q&A segment, inviting attendees to ask questions and engage more deeply with the material discussed. The speaker encourages a supportive environment for learning, aiming to lessen the fears surrounding the use of regex in programming practices. Ultimately, the lecture serves as both an informative session on regex mechanics and a motivational discourse aimed at dispelling apprehensions tied to its use in day-to-day programming tasks.

Chapters:
00:00:00 Regular expressions: feel the fear and do it anyway. - James O'Neill - PSConfEU 2025
00:00:19 Introduction to Regular Expressions
00:02:23 Getting Started with Regular Expressions
00:13:17 Escaping Special Characters
00:15:49 Common Character Classes
00:18:43 Handling Foreign Characters
00:21:50 Understanding Quantifiers
00:28:34 Validating UK Postcodes
00:34:58 Advanced Regular Expression Techniques
00:37:40 The Importance of Documentation

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Regular expressions: feel the fear and do it anyway  - James O'Neill - PSConfEU 2025

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Когда low-code решения слишком глупы, а high-code sol слишком умны — Роберт Прюст — PSConfEU 2025

Когда low-code решения слишком глупы, а high-code sol слишком умны — Роберт Прюст — PSConfEU 2025

PowerShell Security: A Journey Through Time - Miriam Wiesner & Anam Navied

PowerShell Security: A Journey Through Time - Miriam Wiesner & Anam Navied

🔴 LIVE: Full Stack Web Development (MERN) - Quiz App | Build Projects Together | NoEditHD

🔴 LIVE: Full Stack Web Development (MERN) - Quiz App | Build Projects Together | NoEditHD

Some Git stuff - Björn Sundling, Stein Petersen - PSConfEU 2025

Some Git stuff - Björn Sundling, Stein Petersen - PSConfEU 2025

Мне 73. Я жалею, что понял это только сейчас.

Мне 73. Я жалею, что понял это только сейчас.

Bare-Metal C | Введение (Часть 1)

Bare-Metal C | Введение (Часть 1)

React курс 2025

React курс 2025

Converting 3500+ Pester tests from v4 to v5 using AI and why v6 will be easy   Chrissy LeMaire

Converting 3500+ Pester tests from v4 to v5 using AI and why v6 will be easy Chrissy LeMaire

OpenAI Is Slowing Hiring. Anthropic's Engineers Stopped Writing Code. Here's Why You Should Care.

OpenAI Is Slowing Hiring. Anthropic's Engineers Stopped Writing Code. Here's Why You Should Care.

FAQ про изучение программирования Часть 3

FAQ про изучение программирования Часть 3

Bill Gates FURIOUS As Windows 11 Backlash EXPLODES And Partners ABANDON Microsoft

Bill Gates FURIOUS As Windows 11 Backlash EXPLODES And Partners ABANDON Microsoft

VSCode Extension Deployment with Intune - Björn Sundling, David Sass - PSConfEU 2025

VSCode Extension Deployment with Intune - Björn Sundling, David Sass - PSConfEU 2025

Вебинар по схемотехнике:

Вебинар по схемотехнике: "Что нужно знать, чтобы самому спроектировать простое устройство"

Собес с ТехЛидом из WB | Go, Concurrency, LiveCoding

Собес с ТехЛидом из WB | Go, Concurrency, LiveCoding

I Bought 12 Broken Ryzen CPUs for $10 Each - Can I Profit?

I Bought 12 Broken Ryzen CPUs for $10 Each - Can I Profit?

Самая сложная модель из тех, что мы реально понимаем

Самая сложная модель из тех, что мы реально понимаем

Authentication unpacked: What does MSAL actually do? Ben Reader

Authentication unpacked: What does MSAL actually do? Ben Reader

H2D — не самый дорогой Bambulab

H2D — не самый дорогой Bambulab

Модель контекстного протокола (MCP), четко объясненная (почему это важно)

Модель контекстного протокола (MCP), четко объясненная (почему это важно)

CLAWDBOT EXPOSED: The $16M AI Scam That Fooled Everyone (72 Hour Meltdown)

CLAWDBOT EXPOSED: The $16M AI Scam That Fooled Everyone (72 Hour Meltdown)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]