Hi Philip,
I downloaded your lecture on regex from the ACM website. I have a query; I am a bit confused with the following lines from your examples.
[A-Z^] - match anything from A-Z or ^ [-A-Z] - match anything from A-Z or- [+-*/] - match anything from + to * and / [-+*/] - match - + * /
Does the first line mean match anything from A to Z or A to ^ ? or does it mean match anything from A to Z or match ^ ?
similarly if you could also explain the other three lines please. I am writing to the list so tha teveryone can benefit from the answer.
Thanks,
Sharukh.