Seldaek/Dwoo — Issue #9: Namespaced constant
Author: char101
Created: 2011-12-11 09:44:36+00:00
State: open

Hi,

Please add support for namespaced constant so that we can access constant in other namespace in the template like

{if %mynamespace\CONSTANT}It works{/if}

I have tested that it works by changing the const regex from

'#^%([a-z0-9_:]+)#i'

to

'#^%([\\\\a-z0-9_:]+)#i'

Thanks.