Revisiting Regex Generation for Modeling Industrial Applications by Incorporating Byte Pair Encoder