The filename is currently filename.dto.ts
I'm trying to transform filename.dto.ts
to FilenameInput
or FilenameOutput
However, it seems this is not a way to select the second group using regex.
How can I properly select the second regex group and transform it?
export class ${TM_FILENAME_BASE/^(.)|(.dto)$/${1:/upcase}$2/}Input {}
export class ${TM_FILENAME_BASE/(.dto)//}Output {}`