No project description provided
Project description
Тестовый проект, решащющий следующую задачу:
Написать код (с помощью регулярных выражений и без них) для удаления из строки незакрытых скобок вместе с их содержимым, если после них нет закрытых блоков: ‘esdfd((esdf)(esdf’ -> ‘esdfd((esdf)’. Написать тесты для этого кода.
Использование:
brackets_cutter [-h] [-r] string_to_cut
Тесты в файле tests.py Написал ещё и генератор тестов tests_generator.py т.к. самому лень выдумывать строки.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brackets_cutter-1.1.tar.gz
(3.3 kB
view hashes)