[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Feature suggestion/request
The following bytes were arranged on 1 Nov 2010 by Fred Graute :
> > I bet it doesn't work, though - IME the ~ modifier is hideously
> > unreliable. (In fact, I'd been meaning to post on that subject, but
> > kept forgetting.)
>
> The ~ operator is not unreliable IMO but it is tricky to get expressions
> that use it to work as desired. If you have any evidence that ~ is not
> working correctly then I'd be interested to hear about it.
Well, this one (as I hypothesised) didn't work, for example:
Replace("(~\x0D)\x0A\x0D","\l",text,noline,nocase)
When presented with a string of 0D0A 0D0A 0D0A, it simply treated it as
two 0A0Ds with a leading 0D and trailing 0A. The first 0D, and the
third, were supposed to have returned an invalid match. What went
wrong?
--
__<^>__
/ _ _ \ You always find something in the last place you look.
( ( |_| ) )
\_> <_/ ======================= Martin Bazley ==========================
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx