Unfortunately, sometimes, your understanding and the computer's understanding of the same action take different paths.
When I say
my $string = 'I am a "Perl programmer", you are a "piece of rust"';
$string =~ /"(.*)"/;
print "$1\n";
I expect the stupid machine to spit out
'Perl Programmer'. Instead, I get
'Perl programmer", you are a "piece of rust'
The machine has converted some understanding into action. But it wasn't my understanding. :(
Therefore, programming is to translate my understanding into the machine's understanding. :)
$string =~ /"([^"]*)"/; # 'Perl programmer'
_ _ _ _
(_|| | |(_|><
_|