in reply to Re^2: Regex not matching as expected
in thread Regex not matching as expected

and then miss the $_ =~ in the latter part of your or.
$_ =~ is optional before m//.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ