haxe-genc icon indicating copy to clipboard operation
haxe-genc copied to clipboard

Regular expressions

Open Simn opened this issue 12 years ago • 3 comments

We don't really want a PCRE depdendency...

Simn avatar Jun 21 '13 23:06 Simn

@ousado: If I remember correctly you were planning to use some library which has support for regex?

Simn avatar Sep 16 '13 07:09 Simn

yes, at least for Unicode I think it would be wise to use ICU ( http://site.icu-project.org/ ) "ICU's regular expressions fully support Unicode while providing very competitive performance." Haven't looked at the features/compatibility with engines used by other haxe targets so far.

ousado avatar Sep 16 '13 11:09 ousado

Well, even though ICU seems like a beast to me, I think that's the best way to quickly support best practices for string encoding and regex. We can try to simplify that later on. There's also that google engine, re2, which is reportedly very fast. It seems pretty lightweight, and even though it's C++, we can make a simple interface to use with C.

waneck avatar Sep 16 '13 17:09 waneck