fixed regex for OTP release 17