8. The method of claim 1 , wherein the first preset rule includes: returning a corresponding result and using the corresponding result as a first partial regular expression when the to-be-collected character string satisfies a third preset rule.
8. The method of claim 1 , wherein the first preset rule includes: returning a corresponding result and using the corresponding result as a first partial regular expression when the to-be-collected character string satisfies a third preset rule. 9. The method of claim 8 , wherein the third preset rule includes: returning a fifth preset identifier when the to-be-collected character string is not empty, the first character of the to-be-collected character string is a separator, and the first character string does not include a first character of the to-be-collected character string.