All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.csiro.variantspark.work.RegexTest.scala Maven / Gradle / Ivy

The newest version!
package au.csiro.variantspark.work

object RegexTest {
  def main(args: Array[String]) {

    val xx = s"$${cc}"
    println(xx)

    println("XXXX")
    val date = """(([^_]+)_([^_]+))_([^_]+)""".r
    "xx_xxxxyy_zz" match {
      case date(a, b, c, _*) => println(a, b, c)
    }

  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy