Re: string-match and string-looking-at
- From: Timo Korvola <Timo Korvola iki fi>
- To: sawfish-list gnome org
- Cc: Matthew Love <matth love gmail com>
- Subject: Re: string-match and string-looking-at
- Date: Sun, 29 Aug 2010 11:58:24 +0300
On Sunday 29 August 2010 04:26:43 Matthew Love wrote:
> I've noticed that 'string-match and 'string-looking-at both
> return an error when one of the input strings is '(). 'string=
> will return '() in such cases.
That is because string= is defined only as an alias for equal.
> It seems it would be better for 'string-match and 'string-looking-at
> to also return '() if one of the input "strings" is not actually a
> string, as in such cases the strings do not technically match.
I think it would be better for all three functions to report type errors
as errors.
--
Timo Korvola <URL:http://www.iki.fi/tkorvola>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]