Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Regex pattern [Help]

Experienced Elementalist
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
{function = ((.*?):){1,1}([^\"]*))?)}

/Close thread please :wink:
 
Back
Top