The repl is ignoring semi-colons (";") when used in a string.
Putting the following command in the repl
`
“taco;bell” == “tacobell”
`
outputs: true
Putting this command in the repl
`
testString = “taco;bell”
`
outputs: tacobell
The repl is ignoring semi-colons (";") when used in a string.
Putting the following command in the repl
`
“taco;bell” == “tacobell”
`
outputs: true
Putting this command in the repl
`
testString = “taco;bell”
`
outputs: tacobell
Thanks for the report. Looks like we’ve got the following code in the REPL parser that’s the cause of this:
cfml = reReplaceNoCase( cfml, “;”, “”, “all” );
I think that code was intended to only remove trailing semi-colons. I’ll enter a ticket for this.
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Ok, here is the ticket:
https://ortussolutions.atlassian.net/browse/COMMANDBOX-555
This is fixed on the bleeding edge and can be tested here in a few minutes after the build runs:
http://integration.stg.ortussolutions.com/artifacts/ortussolutions/commandbox/3.5.1-snapshot/
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com