Efficient dfa generation for non-matching characters and character classes in regular expressions
AssigneeDell Products L.P.
InventorsSenthilkumar Gopinathan Cheetancheri, Aleksandr Dubrovsky
Life of this patent
Estimating the term…
Loading patent…
AssigneeDell Products L.P.
InventorsSenthilkumar Gopinathan Cheetancheri, Aleksandr Dubrovsky
Estimating the term…
A character class is detected in a regular expression and substituted with a pseudo character. A table is created with a bit vector for each pseudo character inserted into the regular expression. Each bit in the bit-vector represents one character of the alphabet from which the expression is generated. The status of the bits in a bit-vector indicates which characters of the alphabet are included in the character class. The pseudo character in the modified regular expression is used to construct a non-deterministic finite automaton (NFA). The NFA with the pseudo character is then used to construct a deterministic finite automaton (DFA). When constructing the DFA, the bit-vectors are used to determine if a certain transition should be constructed in the DFA.
A method for generating a deterministic finite automaton (DFA), the method comprising:
A computer readable storage medium having embodied thereon a program, the program being executable by a processor to perform a method for generating a definite finite automaton (DFA), the method comprising:
A system for generating a definite finite automaton (DFA), comprising:
Dependencies are inferred from the claim text.