On Wednesday 16 January 2002 03:56 pm, rabs wrote:
I am new to regualr expressions and becoming accqainted with the =~
operator. It appears to me that the =~ allows me to match a pattern in a
REGEX against a variable. As such it replaces the $_ varible.
$name =~ /[rabs]/;
mtaches with a
Rabs wrote:
I am new to regualr expressions and becoming accqainted with the =~
operator. It appears to me that the =~ allows me to match a pattern in a
REGEX against a variable.
Yes.
As such it replaces the $_ varible.
No, a regular expression will not replace anything and does not