
Aug. 26, 2002
12:08 a.m.
you can do that without even looking at the characters?
No, but the original complaint was that immutability of strings made lexing difficult. I was pointing out that it's possible to do it without mutating anything per-character. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+