Posts by MICHEL GOMES DE SOUZA • 43 points
1 post
-
4
votes1
answer237
viewsQ: Regex for positive, negative, sum and subtraction number tokens
I have to do a lexical parser in python using the PLY. Use REGEX to pick up tokens: Example: t_FLUTUANTE = r'flutuante' The expression above gives a match with the word flutuante and return me a…