"?" is special to regular expression. try escaping it. "\\?"