So, I’m trying to make a snippet that includes the class name defined in the file. The closest I’ve been able to get is using the $TM_FILEPATH variable in a regex, but it’s not quite right.
[code] * @return ${TM_FILEPATH/(.include/)(.).php/$2/}
- @return ${TM_FILEPATH///_/g}[/code]
What I need is the combo of both. I need the output of the first regex to be run through the second regex. Is there a way to nest them? Or is there a way to assign a temporary variable dynamically? I can assign static variables in the .tmPreferences files, but haven’t figured a way to make my own.
MPEDrummer