string match
now z match strings:
'test'.matches(
(x = 'testa') => false,
(x = 'test') => true,
(x = 'testo') => false,
function otherwise () { return false }
).should.equal(true)
now z match strings:
'test'.matches(
(x = 'testa') => false,
(x = 'test') => true,
(x = 'testo') => false,
function otherwise () { return false }
).should.equal(true)