at line 60, my expected result is produced. Again, is my logic flawed here?elsif ($_ eq '[') { $regex .= $escaping ? "\\[" : $_; } elsif ($_ eq ']') { $regex .= $escaping ? "\\]" : $_; }
In reply to Glob to Regex issue by dt667
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |