Systems and methods are provided for regular expression support in instrumentation languages using kernel-mode executable code. An example system includes a translator module that receives an input source code including a regular expression in a first source code language, 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 deterministic finite automaton. The system further includes a kernel module that processes at least one string using the matching function, wherein the matching function simulates state transitions of the deterministic finite automaton using the at least one string.
展开▼