[Za-pm] regex ctrl char?

Gregory Machin greg at linserv.co.za
Mon Jun 26 06:02:25 PDT 2006


I found this
\cX An ASCII escape sequence - the character whose code point is X % 32

at  http://www.boost.org/libs/regex/doc/syntax_perl.html

Cheers
Greg

Spike wrote:
> Hi All
> I came across the code below while looking at a script written by 
> someone who no longer works with us.
>
> Does anyone have any idea what the /\c@/ is meant to match?
>
> \c usually indicate a control character but I don't know what the @ is 
> for.
>
>
> if($a_username=~/\c@/ || $a_authresult=~/\c@/ || 
> $a_password_entry=~/\c@/)
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Za-pm mailing list
> Za-pm at pm.org
> http://mail.pm.org/mailman/listinfo/za-pm



More information about the Za-pm mailing list