wanghui 发表于 2016-3-26 16:01:04

后代姓氏改不了

java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 4
劉恕¬****************************************************************************************
    ^
        at java.util.regex.Pattern.error(Pattern.java:1713)
        at java.util.regex.Pattern.sequence(Pattern.java:1878)
        at java.util.regex.Pattern.expr(Pattern.java:1752)
        at java.util.regex.Pattern.compile(Pattern.java:1460)
        at java.util.regex.Pattern.<init>(Pattern.java:1133)
        at java.util.regex.Pattern.compile(Pattern.java:823)
        at java.lang.String.replaceAll(String.java:2189)
        at org.sf.feeling.sanguo.patch.util.GeneralParser.changeFactionFirstName(GeneralParser.java:172)
        at org.sf.feeling.sanguo.patch.page.FactionEditPage$16.widgetSelected(FactionEditPage.java:935)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
        at org.sf.feeling.sanguo.patch.Patch.initial(Patch.java:200)
        at org.sf.feeling.sanguo.patch.Patch.main(Patch.java:238)

页: [1]
查看完整版本: 后代姓氏改不了