OK, so change:
push @sourceDBHostsFromTnsEntry, $record =~ /HOST=(\S+-\S+)/g;
To:
push @sourceDBHostsFromTnsEntry, $record =~ /HOST=(\w+-\w+)/g;
In reply to Re^3: Am I doing Greedy Matching?
by jwkrahn
in thread Am I doing Greedy Matching?
by vishi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |