... > > + if (*kp == '(' || *kp == ')') > > and at least: || *kp == '\\' Thanks. I'm not sure to change these lines. Original author may have expected a user to escape himself like "\string\(\string\134" for "(\". Best, Akira