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

Issue 102 fixes #165

Merged
merged 3 commits into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions _episodes/01-regular-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ So, what is `^[Oo]rgani.e\b` going to match?
> > Organike
> > ~~~
> > Or, any other string that starts a line, begins with a letter `o` in lower or capital case, proceeds with `rgani`, has any character in the 7th position, and ends with the letter `e`.
> > [See solution visulaized on Regexper.com](https://regexper.com/#%5E%5BOo%5Drgani.e)
> {: .solution}
{: .challenge}

Expand Down Expand Up @@ -167,9 +168,10 @@ So, what are these going to match?
> {: .solution}
{: .challenge}

This logic is useful when you have lots of files in a directory, when those files have logical file names, and when you want to isolate a selection of files. It can be used for looking at cells in spreadsheets for certain values, or for extracting some data from a column of a spreadsheet to make new columns. There are many other contexts in which regex is useful when using a computer to search through a document, spreadsheet, or file structure.
This logic is useful when you have lots of files in a directory, when those files have logical file names, and when you want to isolate a selection of files. It can be used for looking at cells in spreadsheets for certain values, or for extracting some data from a column of a spreadsheet to make new columns. There are many other contexts in which regex is useful when using a computer to search through a document, spreadsheet, or file structure. Some real-world use cases for regex are included on an [ACRL Tech Connect blog](https://acrl.ala.org/techconnect/post/fear-no-longer-regular-expressions/) .

To embed this knowledge we won't - however - be using computers. Instead we'll use pen and paper.

To embed this knowledge we won't - however - be using computers. Instead we'll use pen and paper for now.


### Exercise
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ This Library Carpentry lesson introduces people with library- and information-re

> ## Prerequisites
>
> This lesson has no prerequisites. Ideally you will need a laptop and an internet connection, though this is not required.
> This lesson has no prerequisites. You will need a laptop and an internet connection to complete Episode 2.
{: .prereq}