in reply to Re: Regex Mystery
in thread Regex Mystery

Wait, wouldn't this be more appropriate?:

      if ($file =~ m/\Q$regex\E/i) ...

Replies are listed 'Best First'.
Re^3: Regex Mystery
by Anonymous Monk on Apr 13, 2025 at 16:54 UTC
    theyre exactly the same