fork download
  1. text = "These are the steps that the user did before sending the bug, all the user touches and interactions are recorded here. \n\n 2014-07-15 13:46:02.323+0200 UTC com.bug.demo.demoapplication.MyActivity was started \n 2014-07-15 13:46:27.026+0200 UTC com.bug.demo.demoapplication.LoginActivity was started \n 2014-07-15 13:46:35.108+0200 UTC In activity com.bug.demo.ss.ss.MyActivity.ss: View(email_field) of type android.widget.EditText received a click event \n 2014-07-15 13:46:36.692+0200 UTC In activity com.bug.demo.demoapplication.MyActivity: View(password_field) of type android.widget.EditText received a click event \n 2014-07-15 13:47:02.922+0200 UTC In activity com.bug.demo.demoapplication.MyActivity: View(login_begin) of type android.widget.Button received a click event \n 2014-07-15 13:47:25.013+0200 UTC"
  2. puts text[/com\.bug(?!.*com\.bug)\S*\.\K\w+/m]
Success #stdin #stdout 0.01s 6304KB
stdin
Standard input is empty
stdout
MyActivity