[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Simon Waters wrote: > > For a flavour, this pattern (amongst others) is causing me grief... > > ([^\n\r\"\\]|\\.)* I kind of hacked around this by declaring the broken syntax it doesn't work with irredeemably bad. > But my worse problems surround > > <*>^\[ > > Which I figure should pick up any occurence of a "[" at the start of a > line, whenever it occurs? But seems to be skipping when a certain start > condition applies (which handles parenthesis, which of course never > match in the interesting cases....) My bracket SC was eating the "[", obvious when you see it. > Pointers to elegant examples of flex solving real world problems, > especially good examples of catching errors appreciated. Unmatched > parenthesis must be a common pattern, but in this case we have to spot > and fix it before the end of the file, "unexpected end of file" is not > acceptable. Still hoping.... patient => patience ? -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+/dnpGFXfHI9FVgYRAioJAJ4uOTxd81+hHIrayVMcBamM6Vd6+wCgp1AU HmrOJ801UyRw6csgIZdjz28= =PJ+d -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.