>>>> "Sean" == Sean MacLennan
<seanm(a)seanm.ca> writes:
Sean> The regexps in question all deal with variations of \b on
Sean> empty or one space strings. For example (match-string "\\b"
Sean> "") ==> 0 but the test expects nil.
Sean> If we accept that (string-match "" "") ==> 0, which
Sean> currently both Emacs and XEmacs agree on, then you could
Sean> argue that the match is at the start of a empty word.
A word is defined to be non-empty. Even if you allowed empty words, I
don't think that interpretation is tenable. It implies
(string-match " \\b" " ") ==> 0
(The target string is two ASCII spaces.) The degenerate example is
sort of an identity relationship.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.