#!/bin/bash
if [[ $1 == '' ]]; then
echo 'E| you must give a domain or pattern to search'
exit 1
fi
docker exec -it yacynet /scripts/purge-by-regex.sh "$1"