The fsm I posted on 07 feb 3 would produce a '+'for any substring which
terminated prematurely (and a ':' for any empty subsubstring).
I suppose this gives you the results you wish. 


R.E. Boss

 

>-----Oorspronkelijk bericht-----
>Van: [EMAIL PROTECTED]
[mailto:programming->[EMAIL PROTECTED] Namens david alis
(...)
>Onderwerp: [Jprogramming] Re: /: Programming sequential machine/finite
>statemachine
>
>Regarding my earlier problem in devising an FSM to process substrings
>delimited by ':' within strings delimited by '+' Raul mentioned (see
>below) that the issue was emptiness. ie. that a FSM couldnt provide a
>result useful for me from input such as ++++++.
>
 (...)

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to