File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/com/actiontech/dble/manager/handler Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
public final class DataHostHandler {
14
14
15
15
16
- private static final Pattern PATTERN_DH_DISABLE = Pattern .compile ("^\\ s*dataHost\\ s*@@disable\\ s*name\\ s*=\\ s*'([a-zA-Z_0-9\\ -]+)'" +
16
+ private static final Pattern PATTERN_DH_DISABLE = Pattern .compile ("^\\ s*dataHost\\ s*@@disable\\ s*name\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ . ]+)'" +
17
17
"\\ s*(node\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ ,]+)')?$" , Pattern .CASE_INSENSITIVE );
18
- private static final Pattern PATTERN_DH_ENABLE = Pattern .compile ("^\\ s*dataHost\\ s*@@enable\\ s*name\\ s*=\\ s*'([a-zA-Z_0-9\\ -]+)'" +
18
+ private static final Pattern PATTERN_DH_ENABLE = Pattern .compile ("^\\ s*dataHost\\ s*@@enable\\ s*name\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ . ]+)'" +
19
19
"\\ s*(node\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ ,]+)')?$" , Pattern .CASE_INSENSITIVE );
20
- private static final Pattern PATTERN_DH_SWITCH = Pattern .compile ("^dataHost\\ s*@@switch\\ s*name\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ ,]+)'" +
21
- "\\ s*master\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ ,]+)'\\ s*$" , Pattern .CASE_INSENSITIVE );
20
+ private static final Pattern PATTERN_DH_SWITCH = Pattern .compile ("^dataHost\\ s*@@switch\\ s*name\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ ,\\ . ]+)'" +
21
+ "\\ s*master\\ s*=\\ s*'([a-zA-Z_0-9\\ -\\ ,\\ . ]+)'\\ s*$" , Pattern .CASE_INSENSITIVE );
22
22
private static final Pattern PATTERN_DH_EVENTS = Pattern .compile ("^dataHost\\ s*@@events\\ s*$" , Pattern .CASE_INSENSITIVE );
23
23
24
24
private DataHostHandler () {
You can’t perform that action at this time.
0 commit comments