I want to implement a custom tag for <cfset. I am able to implement but facing issue that i cannot use dot(.) operator in variable name
<cf_set url.value="123"> is not allowed and it gives following error:
coldfusion.compiler.TokenMgrError: Invalid token . found on line 8 at column 27.
but "." operator is allowed with <cfset url.value and it works fine.
Please provide thoughts to resolve it for use of "." with custom tag variable name
Can't say, for sure, without seeing the code for your custom tag "set".
Variables cannot be named using punctuation (except maybe underscore), which your tag thinks "url.value" is the name of the variable, not a variable within the URL scope.
If you are trying to rewrite the url scope with a custom tag, this wont be possible.
What you want to do is pass the scope into the custom tag and return the sanitise version.
<cf_set value="#url.value#" returnvar="someValue" >
Something like this - coldfusion custom tag return variable - Stack Overflow