> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of [email protected]
> Sent: Tuesday, September 11, 2012 7:51 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] How to escape backslash in rainerscript
> if...then conditions
> 
> On Tue, 11 Sep 2012, Rainer Gerhards wrote:
> 
> > PS: Double-quotes are reserved for in-string property access, like
> > "message is $msg", as known from a couple of languages. I have to
> admit
> > I am no longer sure that's really a good idea...
> 
> I think that would be a nice thing to have, but until that's available,
> simply making " do the same as ' would eliminate a lot of user errors.
> Adding the in-string property access at a later time would not break
> anything that was using double quotes before
> 
> well, unless they used $, but that's something that you can document
> when
> " are allowed, and since it's a common issue with other languages, it's
> not going to surprise people. you could even disallow $ inside double
> quotes until then if you wanted.

That's a sweet idea! I'll see that I implement that ASAP (but it needs to go 
into -devel, of course...).

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to