added stringColor property
modified regex code
bug fixes for string syntax
added handling of invalid strings