On this page https://librarycarpentry.org/lc-data-intro/04-exercises/index.html ,
the regex in the answer finds the first example, but not the second one.
This is because in the second example the ‘:’ is immediately following the word, while the regex has a space there.
On this page https://librarycarpentry.org/lc-data-intro/04-exercises/index.html , the regex in the answer finds the first example, but not the second one. This is because in the second example the ‘:’ is immediately following the word, while the regex has a space there.
We think this should be corrected. This page: https://librarycarpentry.org/lc-data-intro/01-regular-expressions/index.html does not have this issue.