We process the input text on this state machine using fsmsim, so you'd have to represent the state machine using the map that we described in lecture, and if the input text ends on an accepting state, then we can say we've found one match, so that's how we use fsmsim to find matches for the regular expression. 