Fix logging regular expression objects
Merge pull request #513 from chasenlehara/fixLoggingRegExps

Fix logging regular expression objects