in reply to Re^2: Regex for removing Template::Toolkit comments?
in thread Regex for removing Template::Toolkit comments?
I don't understand what you mean by "Additional problem is the nested comments unless they are forbidden."? Can you show example input data where my regular expression fails?
If you have a regular expression for nested C comment literals, I'm quite sure that it can be trivially converted to a regular expression matching nested TT comments by changing /* to [%# and */ to %]. But I really doubt that TT allows for nested comments anyway.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex for removing Template::Toolkit comments?
by bliako (Abbot) on Aug 24, 2018 at 17:57 UTC | |
by Corion (Patriarch) on Aug 24, 2018 at 18:06 UTC | |
by bliako (Abbot) on Aug 24, 2018 at 18:10 UTC |