Skip to content

Commit 8761b9d

Browse files
Update 02-match-extract-strings.md
What is the problem? In 2. Matching & Extracting Strings > Exercise finding email addresses using regex101.com > Finish the Expression, there is a broken link labelled "here" to common domain names directing to https://stats.research.icann.org/dns/tld_report/ Proposed changes? Amended https://stats.research.icann.org/dns/tld_report/ to https://data.iana.org/TLD/tlds-alpha-by-domain.txt Location of problem https://librarycarpentry.org/lc-data-intro/instructor/02-match-extract-strings.html#exercise-finding-email-addresses-using-regex101.com Re: issue LibraryCarpentry#219
1 parent 2ca808a commit 8761b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/02-match-extract-strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ The string before the "@" could contain any kind of word character, special char
189189

190190
### Finish the expression
191191

192-
The string after the "@" could contain any kind of word character, special character or digit in any combination and length as well as the dash. In addition, we know that it will have some characters after a period (`.`). Most common domain names have two or three characters, but many more are now possible. Find the latest list [here](https://stats.research.icann.org/dns/tld_report/). What expression would capture this? Hint: the `.` is also a metacharacter, so you will have to use the escape `\` to express a literal period. Note: for the string after the period, we did not try to match a `-` character, since those rarely appear in the characters after the period at the end of an email address.
192+
The string after the "@" could contain any kind of word character, special character or digit in any combination and length as well as the dash. In addition, we know that it will have some characters after a period (`.`). Most common domain names have two or three characters, but many more are now possible. Find the latest list [here](https://data.iana.org/TLD/tlds-alpha-by-domain.txt). What expression would capture this? Hint: the `.` is also a metacharacter, so you will have to use the escape `\` to express a literal period. Note: for the string after the period, we did not try to match a `-` character, since those rarely appear in the characters after the period at the end of an email address.
193193

194194
::::::::::::::: solution
195195

0 commit comments

Comments
 (0)