1. A method for data matching based on regular expression for matching data based on a regular expression set comprising one or more regular expressions, comprising steps of: searching in the regular expression set for one or more complex regular expressions which cause a sharp increase in the number of states generated based on the regular expression during interaction; constructing a corresponding simplified expression for each of the one or more searched-out complex regular expressions; compiling a simplified state machine based on the constructed simplified expression and remaining regular expressions in the regular expression set except for the one or more searched-out complex regular expressions; compiling one or more substate machines, wherein each of the one or more substate machines is compiled based on a corresponding one of the one or more complex regular expressions; and matching data based on the simplified state machine and the one or more substate machines.