On Wednesday 14 April 2004 11:16, Jayakumar Rajagopal wrote:
>
> hi friends,

Hello,

> in regexp, I feel \s and \b behaves same.
> can someone send me a contradiction ?

\s is short for [ \t\f\r\n] which is a character class that matches one 
character and can be modified by * or + or ?.

\b is a zero-width assertion that matches NO characters.  It matches 
the space BETWEEN \w and \W character classes.


John
-- 
use Perl;
program
fulfillment


-- 
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