The very basic understanding of SetEnvIf requires the use of anchors
Begins with (^)
Ends with ($)
Contains ( )
Exactly as ("")
Using wildcards will produce less than desired results and may not function as you intended at all.
You'll also need to add Error docs, or else a loop will be created.