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

Regular expressions examples in Intro #189

Open
mightylibrarian opened this issue Jun 14, 2021 · 1 comment
Open

Regular expressions examples in Intro #189

mightylibrarian opened this issue Jun 14, 2021 · 1 comment

Comments

@mightylibrarian
Copy link

Use the same term for Lines 55-59

###I think using the same term "mark" is best for lines 56 to 59, easier to compare and allows instruction to ask for other terms using terms: word, comb, and respect.

- the regular expression `mark` will match not only `mark` but also find `marking`, `market`, `unremarkable`, and so on.
- the regular expression `\bmark` will match `mark`, `marking`, and `marketable`, but not 'remark' or 'demark'.
- the regular expression `mark\b` will match `mark` and `remark` but not `market`.
- the regular expression `\bmark\b` will match `mark` but not `marking' or `unremarkable`.

Thanks for contributing! If this contribution is for instructor training, please send an email to [email protected] with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.

If this issue is about a specific episode within a lesson, please provide its link or filename.

Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at [email protected].


@aforestsomewhere
Copy link
Contributor

I recently instructed using this lesson plan and would agree that using the same string "mark" with different possible word boundaries would improve the clarity.

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

2 participants