beep <beep at spam.com> wrote: > I read: std.regexp is designed to work only with valid UTF strings as input. > > Is it possible for an UTF-string (meaning a string obeying the UTF specs) to be invalid? It's possible for an arbitrary char[] to be an invalid UTF string. That's what it means. -- SnakE