[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Supressing display of passwords



At 13.17 +1030 1999.11.19, Henry Penninkilampi wrote:
>Works like a charm - providing the user doesn't make (or try to correct)
>a typo.

If you take out the if /\w/ part, then you can accept and process
backspaces properly.

You can also check if /[\w\b]/, which allows word characters or backspace
characters (\b in double quotes or in a character class is a backspace; in
a regex, but outside a character class, it is a word boundary).

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org