Skip to content

Commit 14a7da0

Browse files
Update episodes/02-match-extract-strings.md
Co-authored-by: Toby Hodges <[email protected]>
1 parent 8761b9d commit 14a7da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/02-match-extract-strings.md

+1-1
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://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.
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 ([access the latest list](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)