Closed
Description
Hi, I'm using libraryDependencies += "org.scala-js" %%% "scala-parser-combinators" % "1.0.2"
in build.sbt and JavaTokenParsers.ident
doesn't work for "a"
(it works in the console but not in the browser). The error message is
[1.1] failure: string matching regex `\p{javaJavaIdentifierStart}\p{javaJavaIdentifierPart}*' expected but `a' found
a
^
The code to replicate it:
val p = new JavaTokenParsers {}
println(p.parse(p.ident,"a"))
Cheers,
Ricardo