Closed jgilme1 closed 11 years ago
It's hacky. It would fail here for example:
{MyType} <postag=/a{2} />
I know some similar problems in my code. Any ideas on how to minimize problems here? I gave up last time I was thinking about it.
Ok how about
\{([^\}]+)\}(?![^<]*>)
@schmmd What do you think?
Doh! Thanks for the reminder John.
Do you think the regex is conservative enough?