my code:
Gives me errors indicating it's looking for a hash that doesn't exist.$string = hithereHelloHellohithere $match = Hello; $repeat = 2; $string =~ m/$match{$repeat}/;
In reply to Regex curly bracket ambiguity by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |