Teaching environment for Python regular expressions