October 25, 2012 Re: Narrow string is not a random access range | ||||
---|---|---|---|---|
| ||||
Posted in reply to mist | On Wednesday, October 24, 2012 14:37:33 mist wrote: > Wait. So you consider commonPrefix returning malformed string to be fine? I have lost you here. For example, for code sample given above, output is: > > ========== > Пи > П[\D0] > ========== > > Problem is if you use == on code unit you can match only part of valid symbol. http://d.puremagic.com/issues/show_bug.cgi?id=8890 - Jonathan M Davis |
Copyright © 1999-2021 by the D Language Foundation