Fixed the name rule of a mod pack.

This commit is contained in:
gonglinyuan 2016-02-18 15:11:25 +08:00
parent bef6a2d61b
commit 7076272768

View File

@ -206,7 +206,7 @@ public class ModpackInitializationPanel extends javax.swing.JPanel {
wizardData.put(KEY_INCLUDING_LAUNCHER, chkIncludeLauncher.isSelected());
}//GEN-LAST:event_chkIncludeLauncherItemStateChanged
static final Pattern PATTERN = Pattern.compile("[a-zA-Z0-9_u4e00-u9fa5]+$");
static final Pattern PATTERN = Pattern.compile("[-a-zA-Z0-9_\\.\u4E00-\u9FA5]+$");
void checkProblem() {
controller.setProblem(null);