Skip to content

Day 12, Regular Expressions, typos #564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Sampad-Sarker opened this issue Nov 9, 2022 · 0 comments
Open

Day 12, Regular Expressions, typos #564

Sampad-Sarker opened this issue Nov 9, 2022 · 0 comments

Comments

@Sampad-Sarker
Copy link

at line 311 to 317
code example is repeated, should be removed

at line 325
console.log(matches) // ["12", "2020"], this is not what we want
something may be wrong in comment
would be
console.log(matches) // ["12", "2020"], this is what we want

at line 352
const pattern = /[a]./g //. any character, + any character one or more times
something may be wrong in comment
would be
const pattern = /[a].
/g //. any character, * any character zero or more times

at line 380
const pattern = /\b\w{4}\b/g // exactly four character words
would be
const pattern = /\b\w{4}\b/g // exactly four character words

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant