The current version of Tongue throws an exception if string arguments to translations contain certain characters that have special meaning in regular expressions. For instance, any text containing an amount in dollars will be interpreted as a back reference, and in most cases will throw. See the provided test (which throws under 0.2.0, and works as expected in this PR).
The current version of Tongue throws an exception if string arguments to translations contain certain characters that have special meaning in regular expressions. For instance, any text containing an amount in dollars will be interpreted as a back reference, and in most cases will throw. See the provided test (which throws under 0.2.0, and works as expected in this PR).