On 2019-01-19 19:20, Jeremy Harris wrote:

> The docs give examples which appear to cover your needs:
> quotes on the outside and you don't appear to need \N
> (but you'd have to write it with doubled \ and within
> the quotes, if you did need it eg. to manage $-signs).
> 
> I'm looking at
> 
> http://exim.org/exim-html-current/doc/html/spec_html/filter_ch-exim_filter_files.html
> 
> section 22.  Perhaps you didn't find that?

I had found that section, but those examples have no spaces in the
regex.  And indeed my real pattern contains $, so that is part of the
problem.  Meanwhile I found a workaround with character classes, like
this:

\NFoo[[:blank:]]*[bB]ar\N

(or any more perlish way of saying "blank").

Still, I think this aspect of the syntax is disappointing.  I suggest a
new feature: a superquote (for example \Q) which has the powers of
_both_ \N and '"'.

Thanks for your help.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to