https://d.puremagic.com/issues/show_bug.cgi?id=8203
--- Comment #10 from Илья Ярошенко <ilyayaroshe...@gmail.com> 2014-01-04 14:42:08 PST --- Created an attachment (id=1310) regex example This regexp fails with "аллея Театральная, д. 3, стр. 1". Works fine in SublimeText3. ________________c ore.exception.AssertError@/usr/include/dmd/phobos/std/regex.d(5393): not enough preallocated memory ---------------- /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(_d_assert_msg+0x45) [0x5055f1] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(pure nothrow @trusted std.regex.Thread!(ulong).Thread* std.regex.ThompsonMatcher!(char, std.regex.Input!(char).Input.BackLooper).ThompsonMatcher.allocate()+0x88) [0x4e80b0] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(pure nothrow @trusted std.regex.Thread!(ulong).Thread* std.regex.ThompsonMatcher!(char, std.regex.Input!(char).Input.BackLooper).ThompsonMatcher.createStart(ulong, uint)+0x59) [0x4e84d9] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(@trusted std.regex.ThompsonMatcher!(char, std.regex.Input!(char).Input.BackLooper).ThompsonMatcher.MatchResult std.regex.ThompsonMatcher!(char, std.regex.Input!(char).Input.BackLooper).ThompsonMatcher.matchOneShot(std.regex.Group!(ulong).Group[], uint)+0xf9) [0x4e7eb1] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(@trusted void std.regex.ThompsonMatcher!(char).ThompsonMatcher.eval!(true).eval(std.regex.Thread!(ulong).Thread*, std.regex.Group!(ulong).Group[])+0x1672) [0x4e646a] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(@trusted std.regex.ThompsonMatcher!(char).ThompsonMatcher.MatchResult std.regex.ThompsonMatcher!(char).ThompsonMatcher.matchOneShot(std.regex.Group!(ulong).Group[], uint)+0x150) [0x4e2f88] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(@trusted bool std.regex.ThompsonMatcher!(char).ThompsonMatcher.match(std.regex.Group!(ulong).Group[])+0x9d) [0x4e2aa5] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(ref @trusted std.regex.__T10RegexMatchTAyaS273std5regex15ThompsonMatcherZ.RegexMatch std.regex.__T10RegexMatchTAyaS273std5regex15ThompsonMatcherZ.RegexMatch.__ctor!(std.regex.Regex!(char).Regex).__ctor(immutable(char)[], std.regex.Regex!(char).Regex)+0x1ae) [0x4ee856] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(@safe std.regex.__T10RegexMatchTAyaS273std5regex15ThompsonMatcherZ.RegexMatch std.regex.match!(immutable(char)[], std.regex.Regex!(char).Regex).match(immutable(char)[], std.regex.Regex!(char).Regex)+0x63) [0x4fa423] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(_Dmain+0x78ff) [0x4bd29f] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1()+0x18) [0x507b3c] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x507a96] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0x30) [0x507afc] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x507a96] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(_d_run_main+0x1a3) [0x507a17] /tmp/.rdmd-1000/rdmd-test.d-F2E4C955E1856CA0235A274413477A45/test(main+0x25) [0x502a7d] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f967ddb0de5] -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------