"Gregory Machin" schreef:

> i'm using the follwing regex /(.+)[\s+\n](.+)/    where $1 is the
> directive and $2 is the option for the directive

What is [\s+\n] supposed to mean?

The \n is already in \s, so it is a characterset that holds everything
\s holds, plus a plus sign. The construct still  matches just a single
character.

ITYM: \s+

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to