jcubic / gaiman

Gaiman: Text based game engine and programming language
https://gaiman.js.org
GNU General Public License v3.0
138 stars 11 forks source link

=~ operator should return boolean #59

Closed jcubic closed 2 years ago

jcubic commented 2 years ago
str =~ /re/

it should return:

($__m = str.match(/re/), !!$__m);