Narrow string is not a random access range

Jonathan M Davis jmdavisProg at gmx.com
Wed Oct 24 22:46:10 PDT 2012


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


More information about the Digitalmars-d-learn mailing list