Fix regular expression in parse.

Anchor string and the end of line, or this line psrsing fails:
`command_check_interval=15s`, it is treated as integer in def below.