Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
obviously, it doesn't work. can anyone offer me insight? tossing . in the [] brackets seems to negate the expression. the \s is there so i get the newlines. btw, this does work:our %REGEX= ( TEXT_1000=> qr/^[.\s]{0,1000}$/, )
my question is just why.qr/^.{0,1000}$/s,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stupid regex confusion
by ikegami (Patriarch) on Sep 25, 2006 at 21:48 UTC | |
|
Re: stupid regex confusion
by davido (Cardinal) on Sep 26, 2006 at 04:07 UTC | |
|
Re: stupid regex confusion
by graff (Chancellor) on Sep 26, 2006 at 03:21 UTC |