You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pl.lexer is very useful indeed and I'm planning on using it for a new module. I've had to patch it to meet my needs as identifiers in the grammar I want to parse can consist of a few extra characters than specified in the IDEN pattern constant.
I added a setter to change the IDEN: lexer.set_pattern("iden", "^[%%@#$%w][%%@#$%w]*")
It seems like a reasonable requirement to be included in the base.
The text was updated successfully, but these errors were encountered:
pl.lexer is very useful indeed and I'm planning on using it for a new module. I've had to patch it to meet my needs as identifiers in the grammar I want to parse can consist of a few extra characters than specified in the IDEN pattern constant.
I added a setter to change the IDEN: lexer.set_pattern("iden", "^[%%@#$%w][%%@#$%w]*")
It seems like a reasonable requirement to be included in the base.
The text was updated successfully, but these errors were encountered: