au.csiro.variantspark.work.RegexTest.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of variant-spark_2.11 Show documentation
Show all versions of variant-spark_2.11 Show documentation
Genomic variants interpretation toolkit
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)
}
}
}