Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目录分隔符替换报错 #19

Closed
karlwanghn opened this issue Oct 21, 2016 · 1 comment
Closed

目录分隔符替换报错 #19

karlwanghn opened this issue Oct 21, 2016 · 1 comment
Labels

Comments

@karlwanghn
Copy link

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
Copy link
Owner

atjiu commented Oct 21, 2016

你把 replaceAll 改成 replace 试试

@atjiu atjiu closed this as completed Oct 25, 2016
@atjiu atjiu added the bug label Oct 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants