Skip to content
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

OR (“Finish the expression” in https://librarycarpentry.org/lc-data-intro/02-match-extract-strings/index.html) #192

Open
aadoek opened this issue Oct 25, 2021 · 0 comments

Comments

@aadoek
Copy link

aadoek commented Oct 25, 2021

In exercise “Finish the expression” in https://librarycarpentry.org/lc-data-intro/02-match-extract-strings/index.html
the answer according to the lesson is:

[\w.-]+.[\w]{2,3} OR [\w.-]+.[\w]

The OR here is meant to indicate that there are two possible answers.
One of the participants in our workshop read this as a part of the regular expression. This mistake is very easy to make, as this lesson is also about regular expressions!

I suggest rewriting OR as 'or, alternatively' in lowercase.

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