Handle []byte(...) with regexp matching