regex: clean up position accounting for literal nodes
This should not change the meaning of the code, just make the intent clearer: advancing position is tied to adding a new literal.
Showing
想要评论请 注册 或 登录
This should not change the meaning of the code, just make the intent clearer: advancing position is tied to adding a new literal.