I have the following along the lines of a CSS stylesheet: `content: "\f215";`.
I need to extract `f215` from it and I tried the following:

```
re.compile("content: \"\\([a-z0-9]+)\";")

```

I've tested this here <http://www.pythonregex.com/> and it works like a charm.
However, when I paste this into a script and run it locally, it raises `sre_constants.error: unbalanced parenthesis` and I'm at loss why.
I also tried

```
re.compile(re.escape('content: "\([a-z0-9]+)";')
re.compile('content: "\\\([a-z0-9]+)";')

```

but both don't match anything.

Any help is highly appreciated!