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

Re: Small sb-bbc.el patch



On Thu, 14 Jul 2005 06:21:52 +0200 David Hansen wrote:

> -  "\\(<!-- \\(E I\\(BYL\\|IMA\\)\\|S I\\(BOX\\|IMA\\)\\) -->\\)")
> +  "\\(<!-- \\(E I\\(BYL\\|IMA\\)\\|S I?\\(BOX?\\|IMA\\)\\) -->\\)")

Probably

(eval-when-compile
  (concat "<!-- "
          (regexp-opt '("E IBYL" "E IIMA" "S IBOX" "S IMA" "S BO"))
          " -->"))

is better.  At least easier to read. 

David