All right, next we have a bit of a trick question--I'm importing the regular expression library
and then I'm calling "re.findall" on the regular expression [a-z] [a-z]+,
and the haystack string "a quick brown".
And that's going to return a list, and in these blanks, I want you to write the elements of that list.
One of the strings inside "a quick brown" that are matched by this regular expression.
次はひっかけ問題です
正規表現ライブラリをインポートして
re.findallにr“[a-z][a-z]+”と
“a quick brown”を渡して呼び出します
リストが返るので
空白をそのリストの要素で埋めてください
“a quick brown”の中で
この正規表現に一致する文字列です
Ok, agora temos uma questão um pouco mais difícil. Eu estou importando a biblioteca de expressões regulares,
e depois estou chamando re.findall sobre a expressão regular [a-z][a-z]+ e
o string "a quick brown",
e isso vai retornar uma lista. E eu quero que, nestes espaços em branco, você escreva os elementos dessa lista --
cada um dos strings dentro de "a quick brown" que casam com esta expressão regular.