Re: [lang] StrSubstitutor - a dollar sign before a variable

2015-07-22 Thread Anthony Brice
It's not a bug---that's a feature! :p From the javadoc: If this character ['$'] is placed before a variable reference, this reference is ignored and won't be replaced. So even when you use three dollar signs, you still have a variable reference (${amount}) with the escape character placed before

[lang] StrSubstitutor - a dollar sign before a variable

2015-07-22 Thread Woonsan Ko
Hi there, I tried to use the following, expecting ...ick brown fox paid $20.00 to jump over the la…: // In org.apache.commons.lang3.text.StrSubstitutorTest.java locally // after cloning https://github.com/woonsan/commons-lang. @Test public void testReplaceEscapingDollarSign() {