"Yes, there might be some value in demonstrating the limitations of a regex in fully implementing the RFCs. I'll try to find the most comprehensive one and add it to the list of validators."
- Dominic Sayers
can see a glimmer of light at the end of the tunnel. Hope it's not an oncoming train.
"Hi Rob and thanks for pointing this out. The tests were compiled from a number of different sources so there is likely to be some semantic overlap. I would prefer to keep the tests that were sourced from a particular site so I can demonstrate that my function passes all the published tests for that source, even if there's some duplication."
- Dominic Sayers
"Rob - did you mean to include the comma in that address? If so it will fail the validator as the comma isn't allowed in a domain part. I can include this test but I'd like to understand more about the value of the test and whether you expect it to succeed or fail."
- Dominic Sayers
"Hi Misagh, Please go ahead and do the Java version. The PHP code is licensed so that you can do that. If you send me a link to the finished version I would like to link to it from this page."
- Dominic Sayers
MIT OpenCourseWare | Electrical Engineering and Computer Science | 6.189 Multicore Programming Primer, January (IAP) 2007 | Home - http://ocw.mit.edu/OcwWeb...