Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-09-15 06:46:36 -0400
committerTobias Schwarz2014-09-15 06:46:36 -0400
commit6b1801db1b7c64909be765109813742a33213291 (patch)
tree708f16b955dca3e2dbd84241d673b90095eba245
parenta4161f07b61b99125cb55c09744a1a6a736cec51 (diff)
downloadorg.eclipse.tcf-6b1801db1b7c64909be765109813742a33213291.tar.gz
org.eclipse.tcf-6b1801db1b7c64909be765109813742a33213291.tar.xz
org.eclipse.tcf-6b1801db1b7c64909be765109813742a33213291.zip
Target Explorer: fix validation regex
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/validator/TargetPathValidator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/validator/TargetPathValidator.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/validator/TargetPathValidator.java
index 04aa92a4c..5001bd48d 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/validator/TargetPathValidator.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.controls/src/org/eclipse/tcf/te/ui/controls/validator/TargetPathValidator.java
@@ -22,7 +22,7 @@ public class TargetPathValidator extends RegexValidator {
protected static final String TARGET_PATH_SEGMENT_REGEX = "[^;?* /\\\\]+"; //$NON-NLS-1$
protected static final String TARGET_PATH_REGEX = "(/(" + TARGET_PATH_SEGMENT_REGEX + "))+"; //$NON-NLS-1$ //$NON-NLS-2$
- protected static final String TARGET_PATH_MULTIPLE_REGEX = TARGET_PATH_REGEX + "(;" + TARGET_PATH_REGEX + ")*"; //$NON-NLS-1$ //$NON-NLS-2$
+ protected static final String TARGET_PATH_MULTIPLE_REGEX = TARGET_PATH_REGEX + "/?(;" + TARGET_PATH_REGEX + "/?)*"; //$NON-NLS-1$ //$NON-NLS-2$
/**
* Constructor.

Back to the top