pub fn assemble_reu(arr: &[&str]) -> Result<String, String>
assemble a given pattern array into a regex union literal