On Mon, Jun 26, 2017 at 01:42:55PM +0200, Heiko Schlittermann wrote: > Hello, > > Amanda-Server is 3.3.6 (package by Debian 8 (jessie)) > Amanda-Client is 3.3.9 (package by Debian 9 (stretch)) > > My server side configuration contains: > > define application tar { > plugin "amgtar" > # grep -E (posix extended regular expressions) > … > property append "NORMAL" "/#sql_[0-9a-zA-Z]+_[0-9]+\.MY[DI]: File removed > before we read it$" > … > } > > Note the "#" in the pattern! > > ERROR [FORMAT ERROR IN REQUEST PACKET Error on line 1 char 2216: \ > Element 'property' was closed, but the currently open element is 'value'] > > > If I replace the "#" by "?" it works find. The behaviour is reproducable > if I put "#" anywhere else in some other patterns.
I have no comment on the "defect". Just a possible workaround that, if it works, will match the original pattern. Rather than using a "?" wildcard that matches any character, use a character class that only matches the octothorpe, "[#]". -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)