[antlr-interest] Problem parsing unit symbols

David-Sarah Hopwood david-sarah at jacaranda.org
Thu Nov 5 11:23:16 PST 2009


David-Sarah Hopwood wrote:
> Mark van Assem wrote:
>> Hello Antlers,
>>
>> I'm designing a lexer/parser for units of measure (e.g. meters, 
>> seconds). In that process I'm trying to match symbols like Ω (Ohm) and å 
>> (angstrom).
> 
> The Ångstrom symbol is capital-A-ring (\u00C5 or \u212B), by the way.

Correction:

The ångström or angstrom symbol is capital-A-ring (\u00C5 or \u212B).

(S.I. units named after people are lowercase when spelled out, but have
uppercase symbols.)

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20091105/f7c73060/attachment.bin 


More information about the antlr-interest mailing list