Write a regular expression matching a decimal integer with an optional minus sign, but no spaces or leading plus.