How to allow negative values for URL routing?

I just discovered that this code does not allow for negative values in URL e.g. yearID, any idea how to allow it? thank you

@Route(value = "convert/:yearID([0-9]*)?/")

It’s an RegEx which you can customize to your liking