describe('toMatch', function() { it('compares the actual to the expected using a regular expression', function() { expect('Hello Jasmine').toMatch(/jasmine/i); expect('phone: 123-45-67').toMatch(/\d{3}-\d{2}-\d{2}/); }); }); execJasmine();