Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: regexp(ing) Backus-Naurish expressions ... Date: Mon, 11 Mar 2013 21:00:07 +0100 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net UkapWgDeBoq8SZ1O1UdXlwG7MYoAMAYb2pOz7bhHDD2UNBQLGFkDcQkkpetFQDw8o= Cancel-Lock: sha1:gE6qjlEqj/SWBKWxZzy9A5BuGZM= User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 In-Reply-To: X-Antivirus: avast! (VPS 130311-0, 11.03.2013), Outbound message X-Antivirus-Status: Clean Xref: csiph.com comp.lang.java.programmer:22891 On 10.03.2013 23:21, Stefan Ram wrote: > Robert Klemme writes: >> What limitations would make me want to write a FSM instead by hand? > > It is a natural idea that the user may input simple > arithmetic expressions with numeric literals, basic > arithmetics, parentheses and algebraic signs when the > program asks for a numeric value. I am sorry but you are not answering the question. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/