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

java.util.regex.PatternSyntaxException: Unclosed group near index 9 [error] (target\) #5

Closed
OlegYch opened this issue Jun 28, 2018 · 4 comments

Comments

@OlegYch
Copy link

OlegYch commented Jun 28, 2018

running sbt-scalafmt 1.6.0-RC3 on windows
executing either scalafmt or scalafmSbt

@OlegYch
Copy link
Author

OlegYch commented Jun 28, 2018

why are you guys passing raw strings to regex? what if filename contains ? or [
noticed same issue in scalafix https://github.com/scalacenter/scalafix/issues/583

@olafurpg
Copy link
Member

olafurpg commented Jun 28, 2018 via email

@exoego
Copy link

exoego commented Jul 9, 2019

I can format files when using "sbt-scalafmt" % "2.0.2" on Windows.
Perhaps this issue is resolved somewhere after 1.6.0-RC3 ?

@poslegm
Copy link
Collaborator

poslegm commented Oct 22, 2019

I can't reproduce it with sbt-scalafmt v2.2.0 and scalafmt v2.2.0. Feel free to reopen this issue if I missed anything.

@poslegm poslegm closed this as completed Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants