Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
3 edited body
source | link

Scala, 73 69 bytes

"(\\d+)(.)".r.replaceSomeIn(_:String,m=>Some("$2"*m.group(1).toInt))

Try it online!Try it online!

Scala, 73 69 bytes

"(\\d+)(.)".r.replaceSomeIn(_:String,m=>Some("$2"*m.group(1).toInt))

Try it online!

Scala, 73 69 bytes

"(\\d+)(.)".r.replaceSomeIn(_:String,m=>Some("$2"*m.group(1).toInt))

Try it online!

2 use anonymous arguments
source | link

Scala, 7373 69 bytes

(s:String)=>""(\\d+)(.)".r.replaceSomeIn(s_:String,m=>Some("$2"*m.group(1).toInt))

Try it online!

Scala, 73 bytes

(s:String)=>"(\\d+)(.)".r.replaceSomeIn(s,m=>Some("$2"*m.group(1).toInt))

Try it online!

Scala, 73 69 bytes

"(\\d+)(.)".r.replaceSomeIn(_:String,m=>Some("$2"*m.group(1).toInt))

Try it online!

1
source | link

Scala, 73 bytes

(s:String)=>"(\\d+)(.)".r.replaceSomeIn(s,m=>Some("$2"*m.group(1).toInt))

Try it online!