首页 > 解决方案 > 我如何更好地理解 SmaCC 如何在正则表达式中使用“isMethod”功能?

问题描述

我不清楚 SmaCC 正则表达式中的“isMethod”支持。

这两个消息来源本质上说的是同一件事

<isMethod>  Copies the characters where Character>>isMethod returns true into 
the current regular expression. For example, instead of using \d, we could use 
<isDigit> since Character>>isDigit returns true for digits. 

没什么好说的,所以我有几个问题:

谢谢你的时间

标签: regexpharosmacc

解决方案


GToolkit Discord 是解决这个问题的更好地方,因为其中一位原作者在那里闲逛


推荐阅读