Re: Multiple zero of min occurances

2015-04-29 Thread Andriy Rysin
Thanks Jaume! I think the logic of the (new) test case is correct but let's see if Daniel and/or Marcin can confirm this fix is right, then we can change the rule you have. This fix will allow much greater flexibility and will definitely help me with Ukrainian rules. Regards, Andriy 2015-04-29 1

Re: Multiple zero of min occurances

2015-04-29 Thread Jaume OrtolĂ  i Font
2015-04-29 19:38 GMT+02:00 Andriy Rysin : > I just found out that if I have multiple tokens with min="0" my > patterns don't match. Looking at the code it seems like if min="0" we > only check for next pattern to match but that next may also have 0 > mins. > I wrote little patch with tests that ma

Multiple zero of min occurances

2015-04-29 Thread Andriy Rysin
I just found out that if I have multiple tokens with min="0" my patterns don't match. Looking at the code it seems like if min="0" we only check for next pattern to match but that next may also have 0 mins. I wrote little patch with tests that make my rules work but unfortunately it breaks 1 rule i