On Mon, Jun 26, 2017 at 05:15:34PM +0200, Heiko Schlittermann wrote:
> Jon LaBadie <[email protected]> (Mo 26 Jun 2017 16:40:34 CEST):
> …
> > > 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, "[#]".
>
> No, that doesn't work, as [#] still contains the #, which triggers
> the defect.
>
Typically the octothorpe only causes problems as the lead character
or after whitespace. I had hoped that at some point amanda was
striping things in your pattern to the last "/" making the "#"
the first char.
> ["-$]
>
> could work, it limits the collateral damage from matching any character
> to matching " and $ additionally to #.
>
Then old-fart that I am, I was thinking [^ -"$->] but realized that is
so ASCII/US-centric of me.
> Best regards from Dresden/Germany
> Viele Grüße aus Dresden
> Heiko Schlittermann
> --
> SCHLITTERMANN.de ---------------------------- internet & unix support -
> Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
> gnupg encrypted messages are welcome --------------- key ID: F69376CE -
> ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
>>> End of included message <<<
--
Jon H. LaBadie [email protected]
11226 South Shore Rd. (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)