fix regex (%S -> \S)