>>>>> On Mon, 14 Jul 2008 13:51:12 -0700, "Joshua ben Jore" <[EMAIL PROTECTED]>
>>>>> said:
> instead of m<^~\w*(?=/|$)>. In my case, the characters available for
> my username are probably restricted from the full [^/] and certainly
> exclude : but probably other things like \0 and anything non-ASCII.
> [^/] is good enough to pass tests right now. To be correct, I think
> possibly I need to make Mac OS X be a subdialect of UNIX and add
> abstractions like "characters not allowed in usernames and pathnames,"
> comprehend whether the set of things disallowed are actually the union
> of the two previously mentioned sets, and consider whether this data
> has byte or character semantics. Anyone's thoughts? I don't know
> what's correct for UNIXy Macs.
It seems you're opening a can of worms. On a Macbook nearby I find:
% perl -le 'use Devel::Peek; Dump ((getpwnam("eserte"))[6])'
SV = PVNV(0x18038f8) at 0x1800f1c
REFCNT = 1
FLAGS = (TEMP,POK,pPOK)
IV = 0
NV = 0
PV = 0x400c20 "Slaven Rezi\304\215"\0
CUR = 13
LEN = 16
--
andreas