fubark / cyber

Fast and concurrent scripting.
https://cyberscript.dev
MIT License
1.16k stars 38 forks source link

findAnyRune return unexpected index #92

Closed lost22git closed 3 weeks ago

lost22git commented 2 months ago
Item Ver
os debian 12
cyber 0.4-dev
print "👻 koo".findAnyRune("👻").? -- 4
fubark commented 1 month ago

This looks like a bug with matching UTF-8 strings for findAnyRune. Also, we should change the parameter to accept a list of runes instead of a string.

fubark commented 3 weeks ago

This should be fixed.