Jon LaBadie <j...@jgcomp.com> (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. ["-$] could work, it limits the collateral damage from matching any character to matching " and $ additionally to #. 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 ------------ -
signature.asc
Description: PGP signature