- Joined
- Jul 31, 2012
- Messages
- 268
- Reaction score
- 100
Hello, so I'm currently working on my own template engine (I know.. don't reinvent the wheel whatever, its for learning purposes),
and this regex pattern is making me nuts, so I tried different patterns for like 2 hours and I can't seem to get it to work.
Here's the snippet at GIST -
I also added additional explanation of what I'd like to achieve in the GIST.
Any help are greatly appreciated.. :laugh:
Problem solved, this is the correct pattern
/Close thread please
and this regex pattern is making me nuts, so I tried different patterns for like 2 hours and I can't seem to get it to work.
Here's the snippet at GIST -
You must be registered to see links
I also added additional explanation of what I'd like to achieve in the GIST.
Any help are greatly appreciated.. :laugh:
Problem solved, this is the correct pattern
{function = ((.*?){1,1}([^\"]*))?)}
/Close thread please