also i know that !$! = 1, so i tried this:$string = "hello world"; print $string =~ /^.{1}(.{5})/;
that would produce an empty line, why? I have tried many different ways but seems im restricted to using digits. just out of curiosity, why cant i do this?$string = "hello world"; print $string =~ /^.{!$!}(.{5})/;
In reply to weird regex question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |