$ NXF_SYNTAX_PARSER=v2 nextflow run main.nf
N E X T F L O W ~ version 25.10.0
Launching `main.nf` [pensive_knuth] DSL2 - revision: 98240d1d43
[9a/07a83b] TASK [100%] 1 of 1, cached: 1 ✔
1 hello
Ah it appears that it’s caused when the withName selector is quoted and contains special characters. I was able to reproduce the issue in your MWE by replacing your config with this