Do you have a suggestion how you would handle the matching procedure here? The randomized lists consist of a particular type of string (a reference ID) and these same kinds of strings are in the list to match array elements.
The latter case you describe cannot happen with these, but I guess some meta-characters might conceivably be able to feature in the reference IDs.