Hi, I'm studying for my CIW perl exam, I've come across this question in my exam software, but it doesn't make sense, and my solution is different to the solution given.
Here is the question:
The following RE matches what patterns?
Mow at the beginning of a string
Cow at the beginning of a string
Tow at the beginning of a string
The given solution is 'Not Mow,Not Cow,Not Tow', but when I run it, I get all of them as matches... Its the extra [ that I don't understand, can anyone explain whats going on. :rolleyes:
Thanks very much, I am very grateful for your help