Merge pull request #28 from gonglinyuan/master

Fixed the name rule of a mod pack.
This commit is contained in:
huanghongxun 2016-02-18 17:50:20 +08:00
commit 48f14e193a

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);