Is it possible to chain REGEX substitutions in a snippet?
It’s a feature I want in general, but specifically, I am trying to get my snippet to auto-generate the package in a Scala file that uses SBT. Currently, I have:
package ${TM_FILEPATH/.+src\/main\/scala\/(.+)\/.+\.scala$/$1//\//\./g}
The missing part is the translation of slashes to dots. I tried a nesting, but that seems to only work for placeholders.
Thanks for your time.