Alistair Davidson wrote:
> One solution I've used before in vaguely similar situations is to
> replace the / character with a placeholder, do the nice clean reg ex,
> then put the slashes back:
> but :
> -          you have to choose a placeholder that's never going to appear
> in your input string (I use something like "donkeyshiftingpignudger", or
> other such blather)

I ususally use the "bell" character (chr(7)) because it's not typable
and doesn't show up in any of the predifined classes (IIRC).

--Ben
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to