regex implementation from musl.
Merge branch 'regex-impl' of github.com:waywardmonkeys/emscripten into incoming

Conflicts:
	tools/shared.py