我有以下欧芹语法:
# one char version of whitespace
wsc = ' ' | '\t' | '\n' | '\r'
escapedChar = '\\\\' anything
symbol = <(escapedChar | ~(',' | ';' | wsc) anything)+>
当我用.escapedChar()
解析\\,
时,得到的字符串是,
。但是,当我用.symbol()
解析test\,
时,得到的字符串是test\,
,而不是test,
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐