and the second part should be ``(;|{)`` rather than ``[;|{]``. And finally, ``{`` needs to be escaped in regexes as it is a special char