Markov decision processes and regular events