Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

patterns and matcher nfa python code

class Char(Regex):
    def __init__(self, c):
        Regex.__init__(self, False)
        self.c = c

    def _shift(self, c, mark):
        return mark and c == self.c
Source by morepypy.blogspot.com #
 
PREVIOUS NEXT
Tagged: #patterns #matcher #nfa #python #code
ADD COMMENT
Topic
Name
9+2 =