I don't want that to get changed. In the end, something like:
s/&(?!\w+|[#\d]+;/&/g
Works. That might not be quite right, but I think you know what I'm getting at.
Rob Dixon wrote:
Jenda Krynicky wrote:
Why not just:Toby Stuart wrote:Problem is that this will break things like
Try this one:
s/&(?!\w+;)/&/g
@
s/&(?!amp;)/&/g
i.e. change every ampersand that isn't followed by 'amp;' into &
Rob
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]