get compiler ready for string matching with multiple possibilities