atjiu / pybbs

更实用的Java开发的社区(论坛),Better use of Java development community (forum)
GNU Affero General Public License v3.0
1.87k stars 711 forks source link

目录分隔符替换报错 #19

Closed karlwanghn closed 8 years ago

karlwanghn commented 8 years ago

ClassSearcher.java 下 private static List findFiles(String baseDirName, String targetFileName)()方法 fileName.substring(start + open.length(), end).replaceAll(File.separator, ".");

报java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \错

atjiu commented 8 years ago

你把 replaceAll 改成 replace 试试