Bugfix for issue#29. The $ and ^ signs were being interpreted as regex symbols