1. Learn
  2. /
  3. Courses
  4. /
  5. Python で学ぶ Natural Language Processing 入門

Connected

Exercise

どのパターン?

次のテキスト結果を得られるのは、次のうちどの正規表現パターンでしょうか。

>>> my_string = "Let's write RegEx!"
>>> re.findall(PATTERN, my_string)
['Let', 's', 'write', 'RegEx']

IPython Shell で、PATTERN を以下のいずれかに置き換えて、出力結果を確認してください。re モジュールはすでにインポート済みで、my_string は名前空間に用意されています。

Instructions

50 XP

Possible answers