Please consider providing a SSCCE with sample input if you need further help.
Please be aware that the AI generated code is far from being correct or the best approach. (I only tossed two prompts at it to generate that output.)
Hints for improvement
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^4: Reusing a complex regexp in multiple spots, escaping the regexp
by LanX
in thread Reusing a complex regexp in multiple spots, escaping the regexp
by ecm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |