What is wrong with my Rename command?

I had a button with this code:

Rename PATTERN "^(.*)\.([^.]+)$ TO "[#]. .\2" REGEXP NUMBER 01 BY 1 CASE=lower

That's renamed the selected files name to number I remembered. But now it's not working. I not sure what is the cause. Is that me who responsible for that maybe I had changed the code? I really don't know

Your button code is missing a quote at the end of the TO argument and thus completely malformed. Try fixing that as the first step.

Rename PATTERN "^(.*)\.([^.]+)$" TO "[#].\2" REGEXP NUMBER 01 BY 1 CASE=lower
@nodeselect