Skip to content

Commit

Permalink
#1661 Broadening the scope of datasource names (#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsun314 authored Feb 20, 2020
1 parent 5682b00 commit 08db8e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public final class DataHostHandler {


private static final Pattern PATTERN_DH_DISABLE = Pattern.compile("^\\s*dataHost\\s*@@disable\\s*name\\s*=\\s*'([a-zA-Z_0-9\\-\\.]+)'" +
"\\s*(node\\s*=\\s*'([a-zA-Z_0-9\\-\\,]+)')?$", Pattern.CASE_INSENSITIVE);
"\\s*(node\\s*=\\s*'([a-zA-Z_0-9\\-\\,\\.]+)')?$", Pattern.CASE_INSENSITIVE);
private static final Pattern PATTERN_DH_ENABLE = Pattern.compile("^\\s*dataHost\\s*@@enable\\s*name\\s*=\\s*'([a-zA-Z_0-9\\-\\.]+)'" +
"\\s*(node\\s*=\\s*'([a-zA-Z_0-9\\-\\,]+)')?$", Pattern.CASE_INSENSITIVE);
"\\s*(node\\s*=\\s*'([a-zA-Z_0-9\\-\\,\\.]+)')?$", Pattern.CASE_INSENSITIVE);
private static final Pattern PATTERN_DH_SWITCH = Pattern.compile("^dataHost\\s*@@switch\\s*name\\s*=\\s*'([a-zA-Z_0-9\\-\\,\\.]+)'" +
"\\s*master\\s*=\\s*'([a-zA-Z_0-9\\-\\,\\.]+)'\\s*$", Pattern.CASE_INSENSITIVE);
private static final Pattern PATTERN_DH_EVENTS = Pattern.compile("^dataHost\\s*@@events\\s*$", Pattern.CASE_INSENSITIVE);
Expand Down

0 comments on commit 08db8e2

Please sign in to comment.