I'm suspicious that we can trust that the `scan` call will always evaluate to something that can have `first` called on it.  I still think you should have a nil check here (as seen in the previous version of the code).

I'd also rather see a group capture than `[35...-7]` (as seen in the previous version).  In doing so, you can even remove `actual_out`, too.

The `return` is superfluous here, please remove it.