printsforeach my $char (a..d) { print "bbb matches $char\n" if "bbb" =~ /[$char]/; }
Thanks for expanding my horizons! -Markbbb matches b
In reply to Re: Re: Useful Uses of regex code expressions?
by kvale
in thread Useful Uses of regex code expressions?
by kvale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |