RosettaCodeData/Task/Regular-expressions/Scala/regular-expressions-5.scala
2023-07-01 13:44:08 -04:00

2 lines
136 B
Scala

Bottles2 replaceFirstIn ("99 bottles of beer", "98 bottles of beer")
Bottles3 replaceAllIn ("99 bottles of beer", "98 bottles of beer")