The code below is my first approach to create a lisp function that test the ISSN check digit. Unfortunately, the code runs only in Allegro CL due the requirement of regexp2 library. Nevertheless, the regexp2 library is easly replaced by an opensource regexp library, which makes this not a real constraint.
That is it! Comments are welcome!