How can I build my raw expression to differentiate between a sum operator and a signed integer? I'm using PLY Python.

This,unfortunately, didn't work:

```
t_sum=r'\+'
def t_integer(token):
    r'[-+]?\d+'

```