fixing book regexp