(\w+)(:\d+)*. and then compiled a
Regex[(String,Seq[String])], I always got an error about an "empty group". I then went for
Regex[(String, Option[String])]. what can i do about this?
=. so a dedicated uri parsing library would not really fit.
:, which I'm assuming is desirable but I might be wrong)
:means in your regex?
*(I think), it's just that your regex requires
:which your input doesn't contain
In case that someone uses Intellij IDEA: I just added support for kantan.regex to my plugin called Custom Postfix Templates. It allows you to easily expand
by automatically adding
import kantan.regex._ import kantan.regex.implicits._ import kantan.regex.generic._
to your imports.
is expanded to
also by adding the import.
Please let me know if I can improve these postfix templates.