/
ilya.petrash
/
SimplePyScripts
Обзор
Документация
Войти
/
ilya.petrash
/
SimplePyScripts
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.0.0
FindWordInString/regexp.py
11 строк
241 B
ipetrash
Append FindWordInString/regexp.py
30 май 2018, 16:40
30 май 2018, 16:40
592a05d
Код
Авторство
О чём код?
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' text = 'in comparison to dogs, cats have not undergone major changes during the domestication process.' import re words = re.findall(r'\b(\w+)\b', text) print(words)