GetLenToPosState
StateInit
StateIsCharState
StateUpdateChar
StateUpdateMatch
StateUpdateRep
StateUpdateShortRep