We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 61a6833 + c848aef commit 55762c6Copy full SHA for 55762c6
tests/pos/i7304.scala
@@ -0,0 +1,9 @@
1
+@main def test =
2
+ val myregex_r = "\\s+".r
3
+ val text = "adggfgf dfg"
4
+ myregex_r findFirstMatchIn text
5
+ text takeRight 5
6
+ val func = (a: Int) => a + 1
7
+ List(1,2, 3) map func
8
+ text stripPrefix "adgg"
9
+
0 commit comments