We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd3054 commit e82caedCopy full SHA for e82caed
1 file changed
autoload/TextUtils.gd
@@ -46,7 +46,7 @@ func _init() -> void:
46
47
48
_REGEXES["code"].compile("\\[code\\](.+?)\\[\\/code\\]")
49
- _REGEXES["func"].compile("(?<func>func)")
+ _REGEXES["func"].compile("(?<func>\\bfunc\\b)")
50
_REGEXES["number"].compile("(?<number>-?\\d+(\\.\\d+)?)")
51
_REGEXES["string"].compile("(?<string>[\"'].+[\"'])")
52
_REGEXES["symbol"].compile("(?<symbol>[a-zA-Z][a-zA-Z0-9_]+|[a-zA-Z])")
0 commit comments