From: Peter M. <pet...@gm...> - 2012-07-23 23:27:28
|
With 8bit but without utf8, it shouldn't do the extra utf8 processing - in particular, a 3byte char will match "..." rather than "." -- sent from my phone, please excuse my brevity On Jul 23, 2012 7:12 PM, "Paul" <pa...@pr...> wrote: > Looking at Peter Martini's work, I think that when set as 8 bit, it will > accept both ascii and utf-8. > I would prefer to only accept utf-8 with a flex flag like: %option utf8. > I believe a generated scanner can be more efficient if it does not have > to deal with utf-8. > This seems to be a philosophical issue, so I would like opinions. > I may be off the rails here. > > Paul Neelands > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Flex-devel mailing list > Fle...@li... > https://lists.sourceforge.net/lists/listinfo/flex-devel > |