How to use variable in the pattern ?
Please I want to this : my $project="SDK" //or something that i will get it after calling some function.
my $JIRA_regex = '(^| )($project)-(\d+)';
print "pattern = $JIRA_regex\n";
Output is not good : (^| )(${project})-(\d+)
Aucun commentaire:
Enregistrer un commentaire