Commit 4f9c00e2 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(erc-valid-nick-regexp): Replace `legal' with `valid'.

parent 42c28f29
2008-02-05 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-valid-nick-regexp):
* erc-button.el (erc-button-syntax-table):
* erc-match.el (erc-match-syntax-table): Replace `legal' with `valid'.
2007-11-15 Juanma Barranquero <lekktu@gmail.com>
* erc.el (erc-open):
......
......@@ -2342,7 +2342,7 @@ If STRING is nil, the function does nothing."
(setq list (cdr list))))))
(defvar erc-valid-nick-regexp "[]a-zA-Z^[;\\`_{}|][]^[;\\`_{}|a-zA-Z0-9-]*"
"Regexp which matches all legal characters in a IRC nickname.")
"Regexp which matches all valid characters in a IRC nickname.")
(defun erc-is-valid-nick-p (nick)
"Check if NICK is a valid IRC nickname."
......
......@@ -850,7 +850,7 @@ consing a string.)"
(setq char ?\() ; HAVE I NO SHAME??
)
;; record the position of various interesting chars, determine
;; legality later.
;; validity later.
((setq record-pos-symbol
(cdr (assq char
'((?< . <-pos) (?> . >-pos) (?@ . @-pos)
......@@ -862,9 +862,9 @@ consing a string.)"
((eq char ?.)
(forward-char 1))
((memq char '(
;; comment terminator illegal
;; comment terminator invalid
?\)
;; domain literal terminator illegal
;; domain literal terminator invalid
?\]
;; \ allowed only within quoted strings,
;; domain literals, and comments
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment