do regex matching for shellescaping tests