Home Download Buy Blog Forum Support

Is possible use more than regex per snippet?

Is possible use more than regex per snippet?

Postby brunobatista on Sun Jan 27, 2013 1:18 pm

<snippet>
<content><![CDATA[<menu link="option=com_categories&amp;extension=com_${TM_PROJECT/(.+)/\L\1/g}$1" view="categories" img="class:category" alt="${TM_PROJECT/(.+)/\u\1/g}/Categories${1/(\.+)/ /g}">com_${TM_PROJECT/(.+)/\L\1/g}_categories${1/(\.+)/_/g}</menu>]]></content>
<tabTrigger>jaddmenu-categories</tabTrigger>
<scope>text.xml</scope>
</snippet>

I tray replace dot per underline and uppercase the first letter, is possible?
brunobatista
 
Posts: 16
Joined: Thu Apr 26, 2012 2:13 pm

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 18 guests

cron