-
The old known bug: squirrel regex greedyness works not like the standard implies.
2009-08-06 15:50:48 UTC by obscurusnox
-
from the docu:
local ex = regexp(@"(\d+) ([a-zA-Z]+)(\p)");
local string = "stuff 123 Test;";
local res = ex.capture(string);
foreach(i,val in res)
{
print(format("match number[%02d] %s\n",
i,string.slice(val.begin,val.end))); //prints "Test"
}
...
will print
match number[00] 123 Test;
match number[01] 123
match number[02] Test
match number[03] ;
but in my test it outputs:
2009-08-06 15:45:29 UTC by nobody
-
a simple way for reading a file as string would be nice. Because there is no builtin way from blob to string and no method to read a string directly.
2009-08-03 15:37:23 UTC by nobody
-
fagiano changed the squirrel 2.2.3 stable file release.
2009-06-30 19:14:09 UTC by fagiano
-
fagiano changed the squirrel 3.0 alpha 2 file release.
2009-06-30 15:26:03 UTC by fagiano
-
fagiano added the squirrel_3.0_alpha2.tar.gz file.
2009-06-30 15:25:52 UTC by fagiano
-
fagiano changed the squirrel 3.0 alpha 2 file release.
2009-06-30 15:25:18 UTC by fagiano
-
fagiano created the squirrel 3.0 alpha 2 file release.
2009-06-30 15:24:51 UTC by fagiano
-
***version 2.2.3 stable***
-added sq_getfunctioninfo
-added compile time flag SQUSEDOUBLE to use double precision floats
-added global slot _floatsize_ int the base lib to recognize single precision and double precision builds
-sq_wakeupvm can now resume the vm with an exception
-added sqstd_format
-generators can now be instantiated by calling sq_call() or closure.call()
-fixed a bug in...
2009-06-30 15:13:05 UTC by fagiano
-
fagiano changed the squirrel 2.2.3 stable file release.
2009-06-30 15:11:17 UTC by fagiano