The manual (section 6.4) states that
(** 0 0 "foo")
matches the empty string. In fact, using this regular expression
raises an error:
[0 knauel@galibier ~] ledit scsh
Welcome to scsh 0.6.6 (King Conan)
Type ,? for help.
> (string-match (rx (** 0 0 "foo")) "")
Error: Posix regexp () : empty (sub)expression
A repetition form ** with the arguments 0 and 0 is mentioned on
several other occasions in section 6.4.
This bug/behavior was noted by Christoph Hetz.
Log in to post a comment.