Additional doc fixes.
This commit is contained in:
parent
67ee2792bf
commit
c7cbebab7b
5 changed files with 176 additions and 150 deletions
|
|
@ -512,8 +512,8 @@ Lexer
|
|||
return not self == other
|
||||
|
||||
# Regular expressions that tokens and comments of our language.
|
||||
REGEX_NUMBER = re.compile('[0-9]+(?:.[0-9]+)?')
|
||||
REGEX_IDENTIFIER = re.compile('[a-zA-Z][a-zA-Z0-9]\ *')
|
||||
REGEX_NUMBER = re.compile('[0-9]+(?:\.[0-9]+)?')
|
||||
REGEX_IDENTIFIER = re.compile('[a-zA-Z][a-zA-Z0-9]*')
|
||||
REGEX_COMMENT = re.compile('#.*')
|
||||
|
||||
def Tokenize(string):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue