Hi,
Can anyone explain why the following test is not passing. The regex is getting a match where I do not want one.
I want to find a match on text that begins with Tel, Fax or Web but for some reason, the url in the test is getting a match:
def test_url_should_match
assert_no_match(/^[tel|fax|web]/i, "www.jehall.co.uk")
end
Thanks for your help.
Paul