help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: forward-word and NamesLikeThis


From: Drew Adams
Subject: RE: forward-word and NamesLikeThis
Date: Sun, 18 Jun 2006 19:12:54 -0700

    (defun forward-stud ()
     (interactive)
     (while (not (looking-at " \|[A-Z]")) (forward-char))
     (forward-char))
    why doesn't it stop at all characters following spaces and at upper case
    characters. I have never used the \| before so I suppose something is
    wrong with the regexp, but what?

Use two backslashes to insert a backslash in a Lisp string: \\|.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]