Multiple Wild Cards in a Search Query
Rules for Multiple Wild Cards in a Pattern
Allowed
Combinations |
Examples |
---|---|
Adjacent character sequences and/or ranges within square brackets |
[^a][^p][^p][^l][^e] |
Adjacent '?' |
a?? |
Adjacent '?' and character sequences and/or ranges within square brackets |
[^a][^p][^p]?? |
Adjacent '?' and '*' wild cards |
ab?*?*? |
Adjacent '?' and character range |
ab[abc]?[d-z] |
Adjacent '*' and character range |
ab[abc]*[d-z] |
Wild card '+' followed by wild card '?' |
ab+? |
Wild card '+' followed by wild card '*' |
ab+* |
Wild card '+' followed by '[ ]' |
ab+[abc] |
Not Allowed
Combinations |
Examples |
Comments |
---|---|---|
Adjacent '*' wild cards |
e** will return an error |
Error 4100: Adjacent '*' wild cards are meaningless, and thus are not allowed |
Wild card '+' or numeric repetition range \{m,n\} at the beginning of a pattern followed by any wild card |
++, +*, +?, +[abc], \{m,n\}+, \{m,n\}*, \{m,n\}?,\{m,n\}[abc] |
Error 4153: Wild card '+' by itself is meaningless since it has to follow some valid symbol |
Wild card '+' or numeric repetition range \{m,n\} following wild card '*' |
*+, * \{m,n\} |
Error 4153: Precedence rules for wild card '+' are violated |