if (match == null && (banner == null || banner.equals("*"))) {
regex = null;
} else if (match != null) {
<BUG>regex = new RE(match);
} else if (banner != null) {
regex = new RE(banner);
}</BUG>
for (tracker.reset(); tracker.shouldRetry() && !ps.isAvailable(); tracker.nextAttempt()) {
try {
ps = ssh.poll(tracker);

if (match == null && (banner == null || banner.equals("*"))) {
regex = null;
} else if (match != null) {
regex = Pattern.compile(match);
} else if (banner != null) {
regex = Pattern.compile(banner);
}
for (tracker.reset(); tracker.shouldRetry() && !ps.isAvailable(); tracker.nextAttempt()) {
try {
ps = ssh.poll(tracker);
