in reply to Re^4: Substitution for braces
in thread Substitution for braces
This seems to be a new problem, only partly related to your original post. I'm sorry, but I don't understand what your current problem is. Please provide a self-contained program and the input and output data, and what you expect. Please also put all your &, & and &amp; in between <code>...</code> tags, so we can understand when you mean & and when you mean &.
Judging from your description, my imagination is that you want to replace & with - except within <cc>...</cc> tags. If that's true, then regular expressions are the wrong tool for the general case, and you should use an XML parser like XML::LibXML or XML::Twig.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Substitution for braces
by gem555 (Acolyte) on Jul 09, 2009 at 09:33 UTC | |
by Corion (Patriarch) on Jul 09, 2009 at 10:10 UTC |