[Coldstuff] regexp

Adam Cormany coldstuff@cold.org
Thu, 30 Aug 2001 21:16:11 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C13198.FE404760
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm not good at regexp at all. I'm the first to admit that:) I'm having =
trouble figuring out how to do this in cold:

I want to check a string for "{" or "{a", "{b", "{c" .. "{z", but I =
don't want to find "{a}", "{b}", "{c}". How can I achieve this on cold =
with its regexp? Or is there a better way of doing this?

The reason why I'm doing this is I want to find the above occurrences =
and change them from "{a" to "\{a". I don't want to touch the "{a}" =
since they are tags.

Thanks for all your help before and now,
Adam

------=_NextPart_000_0015_01C13198.FE404760
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I'm not good at regexp at all. I'm the =
first to=20
admit that:) I'm having trouble figuring out how to do this in=20
cold:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I want to check a string for "{" or =
"{a", "{b",=20
"{c" .. "{z", but I don't want to find "{a}", "{b}", "{c}". How can I =
achieve=20
this on cold with its regexp? Or is there a better way of doing=20
this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The reason why I'm doing this is I want =
to find the=20
above occurrences and change them from "{a" to "\{a". I don't want to =
touch the=20
"{a}" since they are tags.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for all your help before and=20
now,</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>Adam</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0015_01C13198.FE404760--