Regular Expressions for Beginners and Beyond! With Exercises

所在平台: Udemy

课程主页: https://www.udemy.com/course/regular-expressions-for-beginners-and-beyond-with-exercises/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:初学者及进阶者的正则表达式课程(含练习) 课程概述:正则表达式因其难以理解而声名不佳。本课程通过介绍工具和系统的方法,帮助学员掌握正则表达式的强大功能,编写简洁优雅的代码。 课程内容: - 从基础到高级的正则表达式概念,包括: - 量词 - 字符集合(包括否定) - 字符范围 - 字符边界 - 字符类 - 标志 - 贪婪与懒惰的量词 - 多字符量词和选项 - 捕获组(编号和命名) - 替换/替代 - 前瞻和后顾 学员可以根据自身经验选择从课程开始或从感兴趣的部分入手。 课程实例:课程中包含44个实例,涵盖JavaScript、Python和Linux(grep)等不同平台。每个正则表达式都有详细注释和测试用例,帮助学员通过“示例编码”启动学习。 课程练习:学员可以使用Udemy的代码挑战平台完成46个练习,描述正则表达式并使用JavaScript或Python语法编写。完成后,会有专门为这些练习设计的测试验证正则表达式的正确性,巩固课程内容的理解。 课程工具:本课程使用regex101(经作者许可)展示正则表达式如何匹配测试字符串,并提供幻灯片详细解析每个正则表达式实例,讲解每个部分内容。 鼓励提问!请使用Udemy的问答功能提出问题,课程负责人乐于交流正则表达式的使用、课程内容的决策及相关哲学讨论。

课程评论(0条)

课程详情

Regular expressions have a bad reputation for being difficult to understand. This course introduces tools and a systematic approach so you can unlock the power of regular expressions to write compact, elegant code. Course ConceptsIn this course, we will cover concepts from basic to advanced:QuantifiersCharacter collections, including negationCharacter rangesString boundariesCharacter ClassesFlagsGreedy vs. Lazy QuantifiersMulti-Character Quantifiers and OptionsCapturing Groups (numbered and named)Substitution / ReplaceLookahead and LookbehindDepending on your level of experience, you can start at the beginning, or start later with concepts you've always been interested in, but haven't had a chance to learn yet. Course ExamplesExamples progress in a logical, narrative way. At the end of one example, we will think about how we might tweak it to do something similar but more powerful. In this way, the concepts flow naturally from one example to the next.The course has 44 examples in the course of the lectures, each written out on different platforms (JavaScript / Python / Linux (grep)) in the course repository. Each regular expression is fully commented and has test cases to show how it's intended to be used, so these are a great starting point if you like to "code by example" - start with an example you know works and tweak it for your purposes. Course ExercisesThere are also 46 exercises using Udemy's code challenge platform. You are given a description of a regular expression, and then you write it using your choice of JavaScript or Python syntax. After you're done, tests written especially for the exercises will let you know whether your regular expressions did the job they were supposed to. These exercises are a great way to cement the concepts in your brain, and make sure you really understand the material presented in the lectures. Course ToolsThe course uses regex101 (with permission of the author) to show how regular expressions match the test strings. There are also slides breaking down each regular expression example and explaining each piece. Questions encouraged!Please use the Q & A feature on Udemy to ask questions! I love to talk about why regular expressions don't seem to be working, discussing decisions I made about course content, and debating regular expression philosophy.

课程标签

0人关注该课程

主题相关的课程