[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: What does (looking-at "\\>") mean?
From: |
Drew Adams |
Subject: |
RE: What does (looking-at "\\>") mean? |
Date: |
Sun, 25 Jan 2009 08:52:22 -0800 |
> (looking-at "\\>")
>
> But, I can't figure out what this "\\>" means.
> Could someone give me a explanation ?
Ask Emacs. Emacs will give you an explanation.
`C-h f looking-at' tells you:
,----
| Return t if text after point matches regular expression REGEXP.
| This function modifies the match data that `match-beginning',
| `match-end' and `match-data' access; save and restore the match
| data if you want to preserve them.
`----
IOW, (looking-at "\\>") returns t if the text following the cursor matches the
regexp "\\>".
Now you might want to ask Emacs about regexps...