ssget are the same as those recognized by the wcmatch function, and are described in Wild-Card Matching, and under wcmatch in the AutoLISP Reference.
Symbol names specified in filtering lists can include wild-card patterns. The wild-card patterns recognized by* character with a reverse single quotation mark (`), also known as an escape character, because the * is read by ssget as a wild-card character. For example, you can retrieve an anonymous block named *U2 with the following:
When filtering for anonymous blocks, you must precede the(ssget "X" '((2 . "`*U2")))