Skip to main content

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

This version

1.1

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page