Closed bhall2001 closed 8 years ago
Confirmed this is a bug.
The correct regex is ^[0-9]+$.
Look for the fix in 0.3.0
Well, looks like filter does not use regix. I really would like to find a way to check for only numbers before going with a character based solution.
This has been fixed. Closed based on my testing and lack of further reports the issue still exists.
From forums.livecode.com
It looks like you're just checking the first char of each key. So keys like
0ThisIsZero 1001Nights
would return true.
A better filter might be
CODE: SELECT ALL filter pArray with "[A-Za-z]"
which will return tArray not empty for any non-numeric keys.