"O'hara Takuzo" <[EMAIL PROTECTED]> writes:

>>     (xgit-info-to-allbutlinenum, xgit-annotate-revision-regexp)
>>     (xgit-annotate-show-rev): Use "\\s" instead of "\s" and "^" instead of
>>     "^^?" and "^^".
>
> For the fix in regular expressions in xgit-annoate-info-regexp, which
> changed \s to \\s, the original version was correct.

"\s" is a meaningless control character.  "\\s-" (or "\\s ") matches
spaces, tabs, and newlines (remember, the "\" character must be
escaped).  I incorrectly used "\\s" earlier.  "[[:blank:]]" is
definitely more clear, and does not match newlines -- it and other
character classes only work with Emacs 22, and not Emacs 21, but perhaps
this is not much of a concern, now that Emacs 22 has been released.

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
            Sysadmin -- Hobbies: Lisp, GP2X, HCoop    | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

Attachment: pgpwtQUvM81ON.pgp
Description: PGP signature

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to