Update 05_pet_breeds.ipynb

This commit is contained in:
Jonathan Sum 2020-03-08 11:03:55 -07:00 committed by GitHub
parent b2f1c12d4c
commit 29d70222a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"The most powerful and flexible way to extract information from strings like this is to use a *regular expression*, also known as a *regex*. A regular expression is a special string, written in the regular expression language, which specifies a general rule for for deciding if another string passes a test (i.e., \"matches\" the regular expression), and also possibly for plucking a particular part or parts out of that other string. \n", "The most powerful and flexible way to extract information from strings like this is to use a *regular expression*, also known as a *regex*. A regular expression is a special string, written in the regular expression language, which specifies a general rule for deciding if another string passes a test (i.e., \"matches\" the regular expression), and also possibly for plucking a particular part or parts out of that other string. \n",
"\n", "\n",
"In this case, we need a regular expressin that extracts the pet breed from the file name.\n", "In this case, we need a regular expressin that extracts the pet breed from the file name.\n",
"\n", "\n",