SCI: Simplify check for non-alphanumeric characters in the parser

This is also for bug #6608. Many thanks to wjp for his help with this