Hello,
What does this following do? Can anybody explain me?
$data = "What is the STATUS of your mind right now?";
$data =~/.*/; print "$1,$2\n";
$data =~/(.*?)(u+).*/; print "$1, $2\n";
$data =~/(.?)(u+).*/; print "$1, $2\n";
$data =~/(\w+\s)+/; print "$1, $2\n";
What is $1 and $2
? How does this get it's value? and what are all these regular expressions?
Thanks in advance :)