use binary pattern matching for hexsigil