Re: [Firebird-devel] Complex String Decoding

2013-09-06 Thread Jim Starkey
No parsing technique can by itself resolve ambiguous grammars. Some sort of locale or preference setting is required. That said, the pattern rule hash table initialization code should throw an exception if it detects an over loaded pattern. On Sep 6, 2013, at 2:54 AM, Kjell Rilbe wrote: >

Re: [Firebird-devel] Complex String Decoding

2013-09-06 Thread Norman Dunbar
On 05/09/13 23:29, Jim Starkey wrote: > A couple of folks asked, so here it is. Thanks very much. Cheers, Norm. -- Norman Dunbar Dunbar IT Consultants Ltd Registered address: 27a Lidget Hill Pudsey West Yorkshire United Kingdom LS28 7LG Company Number: 05132767 --

Re: [Firebird-devel] Complex String Decoding

2013-09-05 Thread Kjell Rilbe
Den 2013-09-06 00:29 skrev Jim Starkey såhär: > A couple of folks asked, so here it is. > > The scheme centers around pattern strings. A pattern string represents > one of any number of possible interpretations of a target string. A > pattern string consists of punctuation characters and the char

[Firebird-devel] Complex String Decoding

2013-09-05 Thread Jim Starkey
A couple of folks asked, so here it is. The scheme centers around pattern strings. A pattern string represents one of any number of possible interpretations of a target string. A pattern string consists of punctuation characters and the characters A and 9 representing consecutive sequences of