summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLas <las@protonmail.ch>2020-03-23 16:20:02 +0900
committerLas <las@protonmail.ch>2020-03-25 21:18:21 +0900
commite142a37f21777952c6965d5e248d5f1edb1c4e6e (patch)
treeaab0f1ebfdd29d29b397e382a2755a251aa54702 /src
parent3c265acd6c9640676c9e976c1795c72daabe71e2 (diff)
rc ruby: Don't recognize "keyword"-like identifiers
In Ruby, identifiers can end with a `!` or `?` too, which means that `class!` or `end?`are not actually keywords, but regular identifiers. This fixes that by not using `\b` but `[^0-9A-Za-z_!?]` instead in some places.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions