Native RegEx fails

45 views
Skip to first unread message

Nico May

unread,
Apr 21, 2014, 10:28:07 PM4/21/14
to haxe...@googlegroups.com
so I have this regex: 
~/^((0,?)+)+$/

(not actually used for anything, just the shortest way I could find of duplicating the problem), and while it works fine in flash, when I try and use it in native code it crashes, and neko gives me this error: An error occured while running pcre_exec

I think its somehow related the the double +, but this was the shortest way I could find of reproducing it.
If anyone has any idea what could be causing this, please let me know,
Thanks,
Nico

Nico May

unread,
Apr 22, 2014, 9:18:25 PM4/22/14
to haxe...@googlegroups.com

so that isnt failing now?... but the full regex still is, so here it is, maybe someone has an idea?
~/^([ ]*([0-9],?)+[ ]*\r?\n?)+$/

thanks:),
Nico 
Reply all
Reply to author
Forward
0 new messages