A rapid string matching method, in a field of information processing, includes pre-treating a target string to obtain a simple hash table of each character of the target string; when a first character of the target string is matched, readily matching with a last character of the target string. The method effectively improves a performance of matching and avoids repeated matching. The method is applicable to fields requiring rapid string searching, such as text editors, search engines and whole text search systems.
展开▼