I'm learning Perl about regular expressions for the first time, so I apologize if this is a dumb question. I was looking for an answer for myself, but I can not find anything. Maybe part of my problem is that I really don't know what it's called.
I came across a piece of code that looked like this:
$xl_file = "$curr_dir/$xl_file" unless $xl_file =~ ( m!(^[az]:)|[/\\]!i );
When I looked into the operator = ~, I ducked into the regex hole and began to find out about it. But I just saw the matching operator "m //". I guess m! this is a different type of matching operator, but I cannot find links to it that explain how this works. Through the experiment, I see that β! Iβ is required when using it, but this is about the way I could understand ...
Could someone explain this to me or point me in the direction of some (free) material that can?
source share