[Gambas-user] Gambas 3.5.2 pre-release

Benoît Minisini gambas at ...1...
Tue Jan 7 14:30:35 CET 2014


Le 07/01/2014 14:28, Benoît Minisini a écrit :
> Le 07/01/2014 14:26, Kende Krisztián a écrit :
>> 2014-01-07 14:21 keltezéssel, Kende Krisztián írta:
>>> I found this Like operator bug:
>>>
>>> Print " " Like "  "
>>
>> With double space:
>>
>> Print "  " Like "  "
>>
>>>
>>> or
>>>
>>>        Print "a  a" Like "*  *"
>>>
>>> or... with double space
>>>
>>> Output: False
>>>
>>
>
> Damn it. :-(
>

Actually, a single space in a pattern eats all corresponding spaces in 
the string. So two spaces in the pattern never match...

-- 
Benoît Minisini




More information about the User mailing list