Presumably you mean a "regular expression"?
The most basic thing is you probably want multiline mode with a /m
And odds are you're going to want an XML parser to make your life easier when someone changes minor details in the file. I recommend XML::Tiny which great for most use cases and has no dependencies.
In reply to Re: A line of code matches the question
by SuicideJunkie
in thread A line of code matches the question
by *2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |