You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I paste this text into the Ammonite console, it crashes:
Welcome to the Ammonite Repl 2.3.8 (Scala 2.13.3 Java 1.8.0_282)
@ val ansi = "(?:\u001B\\[[0-9;]+m)?"
ansi: String = "(?:\u001b\\[[0-9;]+m)?"
@ val reError = raw"$ansi(\d\d:\d\d:\d\d$ansi ${ansi}E\)$ansi (.*)".r
Exception in thread "main" java.lang.IllegalArgumentException: Unknown ansi-escape \[[0-9;]+m)?(\d\d:\d\d:\d\d(?:[[0-9;]+m)? (?:[[0-9;]+m)?E\)(?:[[0-9;]+m)? (.*)
at index 72 inside string cannot be parsed into an fansi.Str
at fansi.ErrorMode$Throw$.handle(Fansi.scala:419)
at fansi.ErrorMode$Throw$.handle(Fansi.scala:407)
at fansi.Str$.apply(Fansi.scala:272)
at fansi.Str$.implicitApply(Fansi.scala:227)
at ammonite.repl.Repl$.$anonfun$showException$1(Repl.scala:304)
at scala.collection.immutable.List.map(List.scala:246)
at scala.collection.immutable.List.map(List.scala:79)
at ammonite.repl.Repl$.showException(Repl.scala:300)
at ammonite.repl.Repl$.handleRes(Repl.scala:258)
at ammonite.repl.Repl.loop$1(Repl.scala:215)
at ammonite.repl.Repl.run(Repl.scala:223)
at ammonite.Main.$anonfun$run$1(Main.scala:223)
at scala.Option.getOrElse(Option.scala:201)
at ammonite.Main.run(Main.scala:211)
at ammonite.MainRunner.$anonfun$runRepl$1(Main.scala:415)
at ammonite.MainRunner.watchLoop(Main.scala:396)
at ammonite.MainRunner.runRepl(Main.scala:415)
at ammonite.Main$.main0(Main.scala:321)
at ammonite.Main$.main(Main.scala:270)
at ammonite.Main.main(Main.scala)
It even crashes one running as a script.
Environment:
Java 11
Linux
Ammonite 2.3.8
The text was updated successfully, but these errors were encountered:
If I paste this text into the Ammonite console, it crashes:
It even crashes one running as a script.
Environment:
The text was updated successfully, but these errors were encountered: