|
From: | Nicolas Richard |
Subject: | Re: How to translate `rx' expressions to `rx-to-string'? |
Date: | Thu, 31 Jul 2014 17:07:20 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Thorsten Jolitz <tjolitz@gmail.com> writes: > Seems I did not get the syntax for function rx-to-string yet - any hints > would be welcome. Read the code of rx. (format "%S" (rx bol "foo_" (+ word) eol)) => "\"^foo_[[:word:]]+$\"" (format "%S" (rx-to-string '(and bol "foo_" (+ word) eol) t)) => "\"^foo_[[:word:]]+$\"" HTH, -- Nico.
[Prev in Thread] | Current Thread | [Next in Thread] |