14 Find Characters with Lazy Matching - RegEx - FreeCodeCamp EXPLAINED JavaScript FCC Guide

preview_player
Показать описание
FreeCodeCamp lesson walkthrough - explained.
To assist you if you get stuck, and break down core concepts the material is trying to convey. Please leave a comment if you're still confused and I'll do my best to respond within 24hrs.

FreeCodeCamp - Javascript Algorithms & Data Structures Course
Regular Expressions Sub-course
Challenge 14 Find Characters with Lazy Matching
Рекомендации по теме
Комментарии
Автор

Thank you very much for your content, you are a good teacher .

Espritdesfelins
Автор

For anyone reading this comment section you can also do /<.*?>/ since the wildcard covers [0-9a-z]. Since lazy match finds smallest possible part of the string that satisfies the regex, it will stop at the ">" of the opening tag

patrickabrena
Автор

Great explanatory video but I have two questions;
1. The solution I got which was validated as correct by freecodecamp was entirely different from yours
/<.1*?>/ this is the solution i was hoping we would arrive at the same solution so that you could explain my solution but would also like an explanation to my solution if that would be possible...
And again freecodecamps solution was /<.*?>/ ..


2. In your solution to this challenge you used capital A to lower case z without the case insensitive

andrewchukwudumeje
Автор

I never understood programming logic,
If we select the number first and then the string, how can we select the letter before the number? There is no understanding of this))

dogvscatfunny
join shbcf.ru