ciris.decoders.ScalaUtilConfigDecoders.scala Maven / Gradle / Ivy
package ciris.decoders
import ciris.ConfigDecoder
import scala.util.matching.Regex
trait ScalaUtilConfigDecoders {
implicit val regexConfigDecoder: ConfigDecoder[String, Regex] =
ConfigDecoder.catchNonFatal("Regex")(new Regex(_))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy