#!/usr/bin/perl use strict; use warnings; $a = "I have to get the + version"; $b = "I have to get the + version"; # if($a =~ m/$b/i) if (lc($a) eq lc($b)) { print "Ok\n"; } else { print "Not the same...\n"; }
In reply to Re: Regular expression match trouble with "+"
by xorl
in thread Regular expression match trouble with "+"
by kwyjibo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |