Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Re: tlug] Security question with grep/e...
- Date: Tue, 23 Mar 2004 21:09:20 +0000
- From: Tim Hurman <kano-tlug@example.com>
- Subject: Re: [tlug] Re: tlug] Security question with grep/e...
- References: <200403230503.i2N53juu011858@example.com> <20040323172515.GA433@example.com> <3705.24.123.50.150.1080068466.squirrel@example.com>
- User-agent: Mutt/1.5.6i
On Tue, Mar 23, 2004 at 02:01:06PM -0500, Josh Glover wrote: > Quoth Tim Hurman: > > > 4) your security problems are simplified, > > die unless ($user_str =~ m/^[\w.]+$/); > > Why the "." in the regular expression? Is that a typo? "." matches an awful > lot, including quotes. Wouldn't a better regexp be: m/^[\w\s]+$/? > > Or am I missing something here? iirc, '.' inside [] is not treated as special. Even so PERL understands [\.] Tim.
- References:
- [tlug] Re: tlug] Security question with grep/e...
- From: Jim Breen
- Re: [tlug] Re: tlug] Security question with grep/e...
- From: Tim Hurman
- Re: [tlug] Re: tlug] Security question with grep/e...
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: tlug] Security question with grep/e...
- Next by Date: Re: [tlug] Re: tlug] Security question with grep/e...
- Previous by thread: Re: [tlug] Re: tlug] Security question with grep/e...
- Next by thread: Re: [tlug] Re: tlug] Security question with grep/e...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links