You cannot use flex's / operator inside parentheses. That can make it impossible to use in a definition, depending on your flex version, because flex implicitly surrounds the expansion of definitions with parentheses.
Just write your regex directly in the rule. (And no need for redundant parentheses around brackets.)
[0-9]/[a-z] showToken("NAP");