modified qt/*format*.* : fixed a bug that happens with empty substrings when searching keywords