Patent Document ID: 20150121337
Application ID: 14068487
Patent Flag: 0

Claim One:
1. A system for providing regular expression support using kernel-mode code language matching functions, the system comprising: a translator module, executed by at least one hardware processor, that receives an input source code including a regular expression in a first source code language and regular expression matching instructions comprising at least one of an identification of at least one string to perform matching using the regular expression, a number of times to perform the matching using the regular expression, and a stop point of the matching using the regular expression, wherein the translator module further determines a matching function in kernel-mode code language corresponding to the regular expression, and wherein the matching function corresponds to a deterministic finite automaton; and a kernel module, executed by the at least one hardware processor, that processes the at least one string using the matching function and the regular expression matching instructions in kernel-mode, wherein the matching function simulates state transitions of the deterministic finite automaton using the at least one string and the regular expression matching instructions in the kernel-mode.